class Google::Apis::DocsV1::Shading

The shading of a paragraph.

Attributes

background_color[RW]

A color that can either be fully opaque or fully transparent. Corresponds to the JSON property `backgroundColor` @return [Google::Apis::DocsV1::OptionalColor]

Public Class Methods

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