GoogleApi.Slides.V1.Model.SolidFill (google_api_slides v0.24.0)

View Source

A solid color fill. The page or page element is filled entirely with the specified color value. If any field is unset, its value may be inherited from a parent placeholder if it exists.

Attributes

  • alpha (type: number(), default: nil) - The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: pixel color = alpha (color) + (1.0 - alpha) (background color) This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color.
  • color (type: GoogleApi.Slides.V1.Model.OpaqueColor.t, default: nil) - The color value of the solid fill.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Slides.V1.Model.SolidFill{
  alpha: number() | nil,
  color: GoogleApi.Slides.V1.Model.OpaqueColor.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.