class Google::Apis::SlidesV1::UpdatePageElementTransformRequest
Updates the transform of a page element. Updating the transform of a group will change the absolute transform of the page elements in that group, which can change their visual appearance. See the documentation for PageElement
. transform for more details.
Attributes
The apply mode of the transform update. Corresponds to the JSON property `applyMode` @return [String]
The object ID of the page element to update. Corresponds to the JSON property `objectId` @return [String]
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. Corresponds to the JSON property `transform` @return [Google::Apis::SlidesV1::AffineTransform]
Public Class Methods
# File lib/google/apis/slides_v1/classes.rb, line 4560 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/slides_v1/classes.rb, line 4565 def update!(**args) @apply_mode = args[:apply_mode] if args.key?(:apply_mode) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @transform = args[:transform] if args.key?(:transform) end