Class: Google::Apis::DocsV1::TableCellBorder
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::TableCellBorder
- 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 a table cell. Table cell borders cannot be transparent. To hide a table cell border, make its width 0.
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.
-
#width ⇒ Google::Apis::DocsV1::Dimension
A magnitude in a single direction in the specified units.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TableCellBorder
constructor
A new instance of TableCellBorder.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TableCellBorder
Returns a new instance of TableCellBorder
4933 4934 4935 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4933 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
4921 4922 4923 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4921 def color @color end |
#dash_style ⇒ String
The dash style of the border.
Corresponds to the JSON property dashStyle
4926 4927 4928 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4926 def dash_style @dash_style end |
#width ⇒ Google::Apis::DocsV1::Dimension
A magnitude in a single direction in the specified units.
Corresponds to the JSON property width
4931 4932 4933 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4931 def width @width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4938 4939 4940 4941 4942 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4938 def update!(**args) @color = args[:color] if args.key?(:color) @dash_style = args[:dash_style] if args.key?(:dash_style) @width = args[:width] if args.key?(:width) end |