Class: Google::Apis::SlidesV1::LineFill

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb

Overview

The fill of the line.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LineFill

Returns a new instance of LineFill



601
602
603
# File 'generated/google/apis/slides_v1/classes.rb', line 601

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#solid_fillGoogle::Apis::SlidesV1::SolidFill

A solid color fill. The page or page element is filled entirely with the specified color value. If any field is unset, its value may be inherited from a parent placeholder if it exists. Corresponds to the JSON property solidFill



599
600
601
# File 'generated/google/apis/slides_v1/classes.rb', line 599

def solid_fill
  @solid_fill
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



606
607
608
# File 'generated/google/apis/slides_v1/classes.rb', line 606

def update!(**args)
  @solid_fill = args[:solid_fill] if args.key?(:solid_fill)
end