google_api_slides v0.12.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
(type:float()
, default:nil
) - The X coordinate scaling element.scaleY
(type:float()
, default:nil
) - The Y coordinate scaling element.shearX
(type:float()
, default:nil
) - The X coordinate shearing element.shearY
(type:float()
, default:nil
) - The Y coordinate shearing element.translateX
(type:float()
, default:nil
) - The X coordinate translation element.translateY
(type:float()
, default:nil
) - The Y coordinate translation element.unit
(type:String.t
, default:nil
) - The units for translate elements.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.