class Google::Apis::DocsV1::OptionalColor
A color that can either be fully opaque or fully transparent.
Attributes
color[RW]
A solid color. Corresponds to the JSON property `color` @return [Google::Apis::DocsV1::Color]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 2953 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/docs_v1/classes.rb, line 2958 def update!(**args) @color = args[:color] if args.key?(:color) end