Class: Google::Apis::DocsV1::Shading
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::Shading
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb more...
Overview
The shading of a paragraph.
Instance Attribute Summary collapse
-
#background_color ⇒ Google::Apis::DocsV1::OptionalColor
A color that can either be fully opaque or fully transparent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Shading
constructor
A new instance of Shading.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Shading
Returns a new instance of Shading
3830 3831 3832 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3830 def initialize(**args) update!(**args) end |
Instance Attribute Details
#background_color ⇒ Google::Apis::DocsV1::OptionalColor
A color that can either be fully opaque or fully transparent.
Corresponds to the JSON property backgroundColor
3828 3829 3830 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3828 def background_color @background_color end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3835 3836 3837 |
# File 'generated/google/apis/docs_v1/classes.rb', line 3835 def update!(**args) @background_color = args[:background_color] if args.key?(:background_color) end |