Class: Google::Apis::SlidesV1::ShapeBackgroundFill
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::ShapeBackgroundFill
- 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 shape background fill.
Instance Attribute Summary collapse
-
#property_state ⇒ String
The background fill property state.
-
#solid_fill ⇒ Google::Apis::SlidesV1::SolidFill
A solid color fill.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShapeBackgroundFill
constructor
A new instance of ShapeBackgroundFill.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ShapeBackgroundFill
Returns a new instance of ShapeBackgroundFill
4019 4020 4021 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4019 def initialize(**args) update!(**args) end |
Instance Attribute Details
#property_state ⇒ String
The background fill property state.
Updating the the fill on a shape will implicitly update this field to
RENDERED
, unless another value is specified in the same request. To
have no fill on a shape, set this field to NOT_RENDERED
. In this case,
any other fill fields set in the same request will be ignored.
Corresponds to the JSON property propertyState
4017 4018 4019 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4017 def property_state @property_state end |
#solid_fill ⇒ Google::Apis::SlidesV1::SolidFill
A solid color fill. The page or page element is filled entirely with the
specified color value.
If any field is unset, its value may be inherited from a parent placeholder
if it exists.
Corresponds to the JSON property solidFill
4008 4009 4010 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4008 def solid_fill @solid_fill end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4024 4025 4026 4027 |
# File 'generated/google/apis/slides_v1/classes.rb', line 4024 def update!(**args) @solid_fill = args[:solid_fill] if args.key?(:solid_fill) @property_state = args[:property_state] if args.key?(:property_state) end |