Class: Google::Apis::DocsV1::EmbeddedObjectBorder

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

Overview

A border around an EmbeddedObject.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EmbeddedObjectBorder

Returns a new instance of EmbeddedObjectBorder.



1840
1841
1842
# File 'lib/google/apis/docs_v1/classes.rb', line 1840

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

Instance Attribute Details

#colorGoogle::Apis::DocsV1::OptionalColor

A color that can either be fully opaque or fully transparent. Corresponds to the JSON property color



1823
1824
1825
# File 'lib/google/apis/docs_v1/classes.rb', line 1823

def color
  @color
end

#dash_styleString

The dash style of the border. Corresponds to the JSON property dashStyle

Returns:

  • (String)


1828
1829
1830
# File 'lib/google/apis/docs_v1/classes.rb', line 1828

def dash_style
  @dash_style
end

#property_stateString

The property state of the border property. Corresponds to the JSON property propertyState

Returns:

  • (String)


1833
1834
1835
# File 'lib/google/apis/docs_v1/classes.rb', line 1833

def property_state
  @property_state
end

#widthGoogle::Apis::DocsV1::Dimension

A magnitude in a single direction in the specified units. Corresponds to the JSON property width



1838
1839
1840
# File 'lib/google/apis/docs_v1/classes.rb', line 1838

def width
  @width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1845
1846
1847
1848
1849
1850
# File 'lib/google/apis/docs_v1/classes.rb', line 1845

def update!(**args)
  @color = args[:color] if args.key?(:color)
  @dash_style = args[:dash_style] if args.key?(:dash_style)
  @property_state = args[:property_state] if args.key?(:property_state)
  @width = args[:width] if args.key?(:width)
end