Class: Google::Apis::SlidesV1::PageBackgroundFill
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::PageBackgroundFill
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/slides_v1/classes.rb,
lib/google/apis/slides_v1/representations.rb,
lib/google/apis/slides_v1/representations.rb
Overview
The page background fill.
Instance Attribute Summary collapse
-
#property_state ⇒ String
The background fill property state.
-
#solid_fill ⇒ Google::Apis::SlidesV1::SolidFill
A solid color fill.
-
#stretched_picture_fill ⇒ Google::Apis::SlidesV1::StretchedPictureFill
The stretched picture fill.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PageBackgroundFill
constructor
A new instance of PageBackgroundFill.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PageBackgroundFill
Returns a new instance of PageBackgroundFill.
2079 2080 2081 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2079 def initialize(**args) update!(**args) end |
Instance Attribute Details
#property_state ⇒ String
The background fill property state. Updating the fill on a page will
implicitly update this field to RENDERED
, unless another value is specified
in the same request. To have no fill on a page, 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
2064 2065 2066 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2064 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
2071 2072 2073 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2071 def solid_fill @solid_fill end |
#stretched_picture_fill ⇒ Google::Apis::SlidesV1::StretchedPictureFill
The stretched picture fill. The page or page element is filled entirely with
the specified picture. The picture is stretched to fit its container.
Corresponds to the JSON property stretchedPictureFill
2077 2078 2079 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2077 def stretched_picture_fill @stretched_picture_fill end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2084 2085 2086 2087 2088 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2084 def update!(**args) @property_state = args[:property_state] if args.key?(:property_state) @solid_fill = args[:solid_fill] if args.key?(:solid_fill) @stretched_picture_fill = args[:stretched_picture_fill] if args.key?(:stretched_picture_fill) end |