class Google::Apis::SlidesV1::PageElement
A visual element rendered on a page.
Attributes
The description of the page element. Combined with title to display alt text. The field is not supported for Group
elements. Corresponds to the JSON property `description` @return [String]
A PageElement
kind representing a joined collection of PageElements. Corresponds to the JSON property `elementGroup` @return [Google::Apis::SlidesV1::Group]
A PageElement
kind representing an image. Corresponds to the JSON property `image` @return [Google::Apis::SlidesV1::Image]
A PageElement
kind representing a non-connector line, straight connector, curved connector, or bent connector. Corresponds to the JSON property `line` @return [Google::Apis::SlidesV1::Line]
The object ID for this page element. Object IDs used by google.apps.slides.v1. Page
and google.apps.slides.v1.PageElement share the same namespace. Corresponds to the JSON property `objectId` @return [String]
A PageElement
kind representing a generic shape that does not have a more specific classification. Corresponds to the JSON property `shape` @return [Google::Apis::SlidesV1::Shape]
A PageElement
kind representing a linked chart embedded from Google
Sheets. Corresponds to the JSON property `sheetsChart` @return [Google::Apis::SlidesV1::SheetsChart]
A width and height. Corresponds to the JSON property `size` @return [Google::Apis::SlidesV1::Size]
A PageElement
kind representing a table. Corresponds to the JSON property `table` @return [Google::Apis::SlidesV1::Table]
The title of the page element. Combined with description to display alt text. The field is not supported for Group
elements. Corresponds to the JSON property `title` @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]
A PageElement
kind representing a video. Corresponds to the JSON property `video` @return [Google::Apis::SlidesV1::Video]
A PageElement
kind representing word art. Corresponds to the JSON property `wordArt` @return [Google::Apis::SlidesV1::WordArt]
Public Class Methods
# File lib/google/apis/slides_v1/classes.rb, line 2169 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/slides_v1/classes.rb, line 2174 def update!(**args) @description = args[:description] if args.key?(:description) @element_group = args[:element_group] if args.key?(:element_group) @image = args[:image] if args.key?(:image) @line = args[:line] if args.key?(:line) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @shape = args[:shape] if args.key?(:shape) @sheets_chart = args[:sheets_chart] if args.key?(:sheets_chart) @size = args[:size] if args.key?(:size) @table = args[:table] if args.key?(:table) @title = args[:title] if args.key?(:title) @transform = args[:transform] if args.key?(:transform) @video = args[:video] if args.key?(:video) @word_art = args[:word_art] if args.key?(:word_art) end