View Source GoogleApi.Sheets.V4.Model.GradientRule (google_api_sheets v0.34.0)

A rule that applies a gradient color scale format, based on the interpolation points listed. The format of a cell will vary based on its contents as compared to the values of the interpolation points.

Attributes

  • maxpoint (type: GoogleApi.Sheets.V4.Model.InterpolationPoint.t, default: nil) - The final interpolation point.
  • midpoint (type: GoogleApi.Sheets.V4.Model.InterpolationPoint.t, default: nil) - An optional midway interpolation point.
  • minpoint (type: GoogleApi.Sheets.V4.Model.InterpolationPoint.t, default: nil) - The starting interpolation point.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.GradientRule{
  maxpoint: GoogleApi.Sheets.V4.Model.InterpolationPoint.t() | nil,
  midpoint: GoogleApi.Sheets.V4.Model.InterpolationPoint.t() | nil,
  minpoint: GoogleApi.Sheets.V4.Model.InterpolationPoint.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.