Class: Google::Apis::DocsV1::EmbeddedObjectBorder
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::EmbeddedObjectBorder
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb
Overview
A border around an EmbeddedObject.
Instance Attribute Summary collapse
-
#color ⇒ Google::Apis::DocsV1::OptionalColor
A color that can either be fully opaque or fully transparent.
-
#dash_style ⇒ String
The dash style of the border.
-
#property_state ⇒ String
The property state of the border property.
-
#width ⇒ Google::Apis::DocsV1::Dimension
A magnitude in a single direction in the specified units.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EmbeddedObjectBorder
constructor
A new instance of EmbeddedObjectBorder.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EmbeddedObjectBorder
Returns a new instance of EmbeddedObjectBorder.
1442 1443 1444 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1442 def initialize(**args) update!(**args) end |
Instance Attribute Details
#color ⇒ Google::Apis::DocsV1::OptionalColor
A color that can either be fully opaque or fully transparent.
Corresponds to the JSON property color
1425 1426 1427 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1425 def color @color end |
#dash_style ⇒ String
The dash style of the border.
Corresponds to the JSON property dashStyle
1430 1431 1432 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1430 def dash_style @dash_style end |
#property_state ⇒ String
The property state of the border property.
Corresponds to the JSON property propertyState
1435 1436 1437 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1435 def property_state @property_state end |
#width ⇒ Google::Apis::DocsV1::Dimension
A magnitude in a single direction in the specified units.
Corresponds to the JSON property width
1440 1441 1442 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1440 def width @width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1447 1448 1449 1450 1451 1452 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1447 def update!(**args) @color = args[:color] if args.key?(:color) @dash_style = args[:dash_style] if args.key?(:dash_style) @property_state = args[:property_state] if args.key?(:property_state) @width = args[:width] if args.key?(:width) end |