Class: Google::Apis::SlidesV1::ShapeProperties
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::ShapeProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#link ⇒ Google::Apis::SlidesV1::Link
A hypertext link.
-
#outline ⇒ Google::Apis::SlidesV1::Outline
The outline of a PageElement.
-
#shadow ⇒ Google::Apis::SlidesV1::Shadow
The shadow properties of a page element.
-
#shape_background_fill ⇒ Google::Apis::SlidesV1::ShapeBackgroundFill
The shape background fill.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShapeProperties
constructor
A new instance of ShapeProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ShapeProperties
Returns a new instance of ShapeProperties
2756 2757 2758 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2756 def initialize(**args) update!(**args) end |
Instance Attribute Details
#link ⇒ Google::Apis::SlidesV1::Link
A hypertext link.
Corresponds to the JSON property link
2745 2746 2747 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2745 def link @link end |
#outline ⇒ Google::Apis::SlidesV1::Outline
The outline of a PageElement.
If these fields are unset, they may be inherited from a parent placeholder
if it exists. If there is no parent, the fields will default to the value
used for new page elements created in the Slides editor, which may depend on
the page element kind.
Corresponds to the JSON property outline
2754 2755 2756 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2754 def outline @outline end |
#shadow ⇒ Google::Apis::SlidesV1::Shadow
The shadow properties of a page element.
If these fields are unset, they may be inherited from a parent placeholder
if it exists. If there is no parent, the fields will default to the value
used for new page elements created in the Slides editor, which may depend on
the page element kind.
Corresponds to the JSON property shadow
2740 2741 2742 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2740 def shadow @shadow end |
#shape_background_fill ⇒ Google::Apis::SlidesV1::ShapeBackgroundFill
The shape background fill.
Corresponds to the JSON property shapeBackgroundFill
2731 2732 2733 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2731 def shape_background_fill @shape_background_fill end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2761 2762 2763 2764 2765 2766 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2761 def update!(**args) @shape_background_fill = args[:shape_background_fill] if args.key?(:shape_background_fill) @shadow = args[:shadow] if args.key?(:shadow) @link = args[:link] if args.key?(:link) @outline = args[:outline] if args.key?(:outline) end |