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

A color and position in a gradient band.

Attributes

  • alpha (type: number(), default: nil) - The alpha value of this color in the gradient band. Defaults to 1.0, fully opaque.
  • color (type: GoogleApi.Slides.V1.Model.OpaqueColor.t, default: nil) - The color of the gradient stop.
  • position (type: number(), default: nil) - 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].

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

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.