class Google::Apis::SlidesV1::OpaqueColor

A themeable solid color value.

Attributes

rgb_color[RW]

An RGB color. Corresponds to the JSON property `rgbColor` @return [Google::Apis::SlidesV1::RgbColor]

theme_color[RW]

An opaque theme color. Corresponds to the JSON property `themeColor` @return [String]

Public Class Methods

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