google_api_sheets v0.22.0 GoogleApi.Sheets.V4.Model.TextFormat 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.
  • 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

Link to this type

t()

View Source
t() :: %GoogleApi.Sheets.V4.Model.TextFormat{
  bold: boolean(),
  fontFamily: String.t(),
  fontSize: integer(),
  foregroundColor: GoogleApi.Sheets.V4.Model.Color.t(),
  foregroundColorStyle: GoogleApi.Sheets.V4.Model.ColorStyle.t(),
  italic: boolean(),
  strikethrough: boolean(),
  underline: boolean()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.