class Google::Apis::SlidesV1::Shape
A PageElement
kind representing a generic shape that does not have a more specific classification.
Attributes
The placeholder information that uniquely identifies a placeholder shape. Corresponds to the JSON property `placeholder` @return [Google::Apis::SlidesV1::Placeholder]
The properties of a Shape
. If the shape is a placeholder shape as determined by the placeholder field, then these properties may be inherited from a parent placeholder shape. Determining the rendered value of the property depends on the corresponding property_state field value. Any text autofit settings on the shape are automatically deactivated by requests that can impact how text fits in the shape. Corresponds to the JSON property `shapeProperties` @return [Google::Apis::SlidesV1::ShapeProperties]
The type of the shape. Corresponds to the JSON property `shapeType` @return [String]
The general text content. The text must reside in a compatible shape (e.g. text box or rectangle) or a table cell in a page. Corresponds to the JSON property `text` @return [Google::Apis::SlidesV1::TextContent]
Public Class Methods
# File lib/google/apis/slides_v1/classes.rb, line 3356 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/slides_v1/classes.rb, line 3361 def update!(**args) @placeholder = args[:placeholder] if args.key?(:placeholder) @shape_properties = args[:shape_properties] if args.key?(:shape_properties) @shape_type = args[:shape_type] if args.key?(:shape_type) @text = args[:text] if args.key?(:text) end