Class: Google::Apis::SlidesV1::Outline
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::Outline
- 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 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.
Instance Attribute Summary collapse
-
#dash_style ⇒ String
The dash style of the outline.
-
#outline_fill ⇒ Google::Apis::SlidesV1::OutlineFill
The fill of the outline.
-
#property_state ⇒ String
The outline property state.
-
#weight ⇒ Google::Apis::SlidesV1::Dimension
A magnitude in a single direction in the specified units.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Outline
constructor
A new instance of Outline.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Outline
Returns a new instance of Outline
2687 2688 2689 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2687 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dash_style ⇒ String
The dash style of the outline.
Corresponds to the JSON property dashStyle
2675 2676 2677 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2675 def dash_style @dash_style end |
#outline_fill ⇒ Google::Apis::SlidesV1::OutlineFill
The fill of the outline.
Corresponds to the JSON property outlineFill
2665 2666 2667 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2665 def outline_fill @outline_fill end |
#property_state ⇒ String
The outline property state.
Updating the the outline on a page element will implicitly update this
field toRENDERED
, unless another value is specified in the same request.
To have no outline on a page element, set this field to NOT_RENDERED
. In
this case, any other outline fields set in the same request will be
ignored.
Corresponds to the JSON property propertyState
2685 2686 2687 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2685 def property_state @property_state end |
#weight ⇒ Google::Apis::SlidesV1::Dimension
A magnitude in a single direction in the specified units.
Corresponds to the JSON property weight
2670 2671 2672 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2670 def weight @weight end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2692 2693 2694 2695 2696 2697 |
# File 'generated/google/apis/slides_v1/classes.rb', line 2692 def update!(**args) @outline_fill = args[:outline_fill] if args.key?(:outline_fill) @weight = args[:weight] if args.key?(:weight) @dash_style = args[:dash_style] if args.key?(:dash_style) @property_state = args[:property_state] if args.key?(:property_state) end |