class Google::Apis::SlidesV1::RgbColor

An RGB color.

Attributes

blue[RW]

The blue component of the color, from 0.0 to 1.0. Corresponds to the JSON property `blue` @return [Float]

green[RW]

The green component of the color, from 0.0 to 1.0. Corresponds to the JSON property `green` @return [Float]

red[RW]

The red component of the color, from 0.0 to 1.0. Corresponds to the JSON property `red` @return [Float]

Public Class Methods

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