google_api_slides v0.2.0 GoogleApi.Slides.V1.Model.ColorStop View Source

A color and position in a gradient band.

Attributes

  • alpha (float()): The alpha value of this color in the gradient band. Defaults to 1.0, fully opaque. Defaults to: null.
  • color (OpaqueColor): The color of the gradient stop. Defaults to: null.
  • position (float()): The relative position of the color stop in the gradient band measured in percentage. The value should be in the interval [0.0, 1.0]. Defaults to: null.

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.Slides.V1.Model.ColorStop{
  alpha: any(),
  color: GoogleApi.Slides.V1.Model.OpaqueColor.t(),
  position: any()
}

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.