GoogleApi.Sheets.V4.Model.TextFormat (google_api_sheets v0.29.1) View Source
The format of a run of text in a cell. Absent values indicate that the field isn't specified.
Attributes
-
bold
(type:boolean()
, default:nil
) - True if the text is bold. -
fontFamily
(type:String.t
, default:nil
) - The font family. -
fontSize
(type:integer()
, default:nil
) - The size of the font. -
foregroundColor
(type:GoogleApi.Sheets.V4.Model.Color.t
, default:nil
) - The foreground color of the text. -
foregroundColorStyle
(type:GoogleApi.Sheets.V4.Model.ColorStyle.t
, default:nil
) - The foreground color of the text. If foreground_color is also set, this field takes precedence. -
italic
(type:boolean()
, default:nil
) - True if the text is italicized. -
link
(type:GoogleApi.Sheets.V4.Model.Link.t
, default:nil
) - The link destination of the text, if any. Setting a link in a format run will clear an existing cell-level link. When a link is set, the text foreground color will be set to the default link color and the text will be underlined. If these fields are modified in the same request, those values will be used instead of the link defaults. -
strikethrough
(type:boolean()
, default:nil
) - True if the text has a strikethrough. -
underline
(type:boolean()
, default:nil
) - True if the text is underlined.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Sheets.V4.Model.TextFormat{ bold: boolean() | nil, fontFamily: String.t() | nil, fontSize: integer() | nil, foregroundColor: GoogleApi.Sheets.V4.Model.Color.t() | nil, foregroundColorStyle: GoogleApi.Sheets.V4.Model.ColorStyle.t() | nil, italic: boolean() | nil, link: GoogleApi.Sheets.V4.Model.Link.t() | nil, strikethrough: boolean() | nil, underline: boolean() | nil }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.