GoogleApi.Docs.V1.Model.ImageProperties (google_api_docs v0.18.0)

View Source

The properties of an image.

Attributes

  • angle (type: number(), default: nil) - The clockwise rotation angle of the image, in radians.
  • 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.
  • contentUri (type: String.t, default: nil) - A URI to the image with a default lifetime of 30 minutes. This URI is tagged with the account of the requester. Anyone with the URI effectively accesses the image as the original requester. Access to the image may be lost if the document's sharing settings change.
  • 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.
  • cropProperties (type: GoogleApi.Docs.V1.Model.CropProperties.t, default: nil) - The crop properties of the image.
  • sourceUri (type: String.t, default: nil) - The source URI is the URI used to insert the image. The source URI can be empty.
  • 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 transparent.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Docs.V1.Model.ImageProperties{
  angle: number() | nil,
  brightness: number() | nil,
  contentUri: String.t() | nil,
  contrast: number() | nil,
  cropProperties: GoogleApi.Docs.V1.Model.CropProperties.t() | nil,
  sourceUri: String.t() | nil,
  transparency: number() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.