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

View Source

The properties of the Image.

Attributes

  • brightness (type: number(), default: nil) - The brightness effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect. This property is read-only.
  • contrast (type: number(), default: nil) - The contrast effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect. This property is read-only.
  • cropProperties (type: GoogleApi.Slides.V1.Model.CropProperties.t, default: nil) - The crop properties of the image. If not set, the image is not cropped. This property is read-only.
  • link (type: GoogleApi.Slides.V1.Model.Link.t, default: nil) - The hyperlink destination of the image. If unset, there is no link.
  • outline (type: GoogleApi.Slides.V1.Model.Outline.t, default: nil) - The outline of the image. If not set, the image has no outline.
  • recolor (type: GoogleApi.Slides.V1.Model.Recolor.t, default: nil) - The recolor effect of the image. If not set, the image is not recolored. This property is read-only.
  • shadow (type: GoogleApi.Slides.V1.Model.Shadow.t, default: nil) - The shadow of the image. If not set, the image has no shadow. This property is read-only.
  • transparency (type: number(), default: nil) - The transparency effect of the image. The value should be in the interval [0.0, 1.0], where 0 means no effect and 1 means completely transparent. This property is read-only.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Slides.V1.Model.ImageProperties{
  brightness: number() | nil,
  contrast: number() | nil,
  cropProperties: GoogleApi.Slides.V1.Model.CropProperties.t() | nil,
  link: GoogleApi.Slides.V1.Model.Link.t() | nil,
  outline: GoogleApi.Slides.V1.Model.Outline.t() | nil,
  recolor: GoogleApi.Slides.V1.Model.Recolor.t() | nil,
  shadow: GoogleApi.Slides.V1.Model.Shadow.t() | nil,
  transparency: number() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.