class Google::Apis::SlidesV1::PageBackgroundFill

The page background fill.

Attributes

property_state[RW]

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` @return [String]

solid_fill[RW]

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` @return [Google::Apis::SlidesV1::SolidFill]

stretched_picture_fill[RW]

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` @return [Google::Apis::SlidesV1::StretchedPictureFill]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 2079
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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