class Google::Apis::DocsV1::TableCellStyle
The style of a TableCell
. Inherited table cell styles are represented as unset fields in this message. A table cell style can inherit from the table's style.
Attributes
A color that can either be fully opaque or fully transparent. Corresponds to the JSON property `backgroundColor` @return [Google::Apis::DocsV1::OptionalColor]
A border around a table cell. Table
cell borders cannot be transparent. To hide a table cell border, make its width 0. Corresponds to the JSON property `borderBottom` @return [Google::Apis::DocsV1::TableCellBorder]
A border around a table cell. Table
cell borders cannot be transparent. To hide a table cell border, make its width 0. Corresponds to the JSON property `borderLeft` @return [Google::Apis::DocsV1::TableCellBorder]
A border around a table cell. Table
cell borders cannot be transparent. To hide a table cell border, make its width 0. Corresponds to the JSON property `borderRight` @return [Google::Apis::DocsV1::TableCellBorder]
A border around a table cell. Table
cell borders cannot be transparent. To hide a table cell border, make its width 0. Corresponds to the JSON property `borderTop` @return [Google::Apis::DocsV1::TableCellBorder]
The column span of the cell. This property is read-only. Corresponds to the JSON property `columnSpan` @return [Fixnum]
The alignment of the content in the table cell. The default alignment matches the alignment for newly created table cells in the Docs editor. Corresponds to the JSON property `contentAlignment` @return [String]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `paddingBottom` @return [Google::Apis::DocsV1::Dimension]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `paddingLeft` @return [Google::Apis::DocsV1::Dimension]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `paddingRight` @return [Google::Apis::DocsV1::Dimension]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `paddingTop` @return [Google::Apis::DocsV1::Dimension]
The row span of the cell. This property is read-only. Corresponds to the JSON property `rowSpan` @return [Fixnum]
Public Class Methods
# File lib/google/apis/docs_v1/classes.rb, line 5377 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/docs_v1/classes.rb, line 5382 def update!(**args) @background_color = args[:background_color] if args.key?(:background_color) @border_bottom = args[:border_bottom] if args.key?(:border_bottom) @border_left = args[:border_left] if args.key?(:border_left) @border_right = args[:border_right] if args.key?(:border_right) @border_top = args[:border_top] if args.key?(:border_top) @column_span = args[:column_span] if args.key?(:column_span) @content_alignment = args[:content_alignment] if args.key?(:content_alignment) @padding_bottom = args[:padding_bottom] if args.key?(:padding_bottom) @padding_left = args[:padding_left] if args.key?(:padding_left) @padding_right = args[:padding_right] if args.key?(:padding_right) @padding_top = args[:padding_top] if args.key?(:padding_top) @row_span = args[:row_span] if args.key?(:row_span) end