class Google::Apis::SlidesV1::Recolor

A recolor effect applied on an image.

Attributes

name[RW]

The name of the recolor effect. The name is determined from the `recolor_stops` by matching the gradient against the colors in the page's current color scheme. This property is read-only. Corresponds to the JSON property `name` @return [String]

recolor_stops[RW]

The recolor effect is represented by a gradient, which is a list of color stops. The colors in the gradient will replace the corresponding colors at the same position in the color palette and apply to the image. This property is read-only. Corresponds to the JSON property `recolorStops` @return [Array<Google::Apis::SlidesV1::ColorStop>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 2534
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 2539
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @recolor_stops = args[:recolor_stops] if args.key?(:recolor_stops)
end