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

AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] to transform source coordinates (x,y) into destination coordinates (x', y') according to: x' x = shear_y scale_y translate_y 1 [ 1 ] After transformation, x' = scale_x x + shear_x y + translate_x; y' = scale_y y + shear_y x + translate_y; This message is therefore composed of these six matrix elements.

Attributes

  • scaleX (float()): The X coordinate scaling element. Defaults to: null.
  • scaleY (float()): The Y coordinate scaling element. Defaults to: null.
  • shearX (float()): The X coordinate shearing element. Defaults to: null.
  • shearY (float()): The Y coordinate shearing element. Defaults to: null.
  • translateX (float()): The X coordinate translation element. Defaults to: null.
  • translateY (float()): The Y coordinate translation element. Defaults to: null.
  • unit (String.t): The units for translate elements. Defaults to: null.

    • Enum - one of [UNIT_UNSPECIFIED, EMU, PT]

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.AffineTransform{
  scaleX: any(),
  scaleY: any(),
  shearX: any(),
  shearY: any(),
  translateX: any(),
  translateY: any(),
  unit: 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.