Class: Google::Apis::SlidesV1::Outline

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 outline of a PageElement. If these fields are unset, they may be inherited from a parent placeholder if it exists. If there is no parent, the fields will default to the value used for new page elements created in the Slides editor, which may depend on the page element kind.

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) ⇒ Outline

Returns a new instance of Outline



3717
3718
3719
# File 'generated/google/apis/slides_v1/classes.rb', line 3717

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

Instance Attribute Details

#dash_styleString

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

Returns:

  • (String)


3705
3706
3707
# File 'generated/google/apis/slides_v1/classes.rb', line 3705

def dash_style
  @dash_style
end

#outline_fillGoogle::Apis::SlidesV1::OutlineFill

The fill of the outline. Corresponds to the JSON property outlineFill



3695
3696
3697
# File 'generated/google/apis/slides_v1/classes.rb', line 3695

def outline_fill
  @outline_fill
end

#property_stateString

The outline property state. Updating the the outline on a page element will implicitly update this field toRENDERED, unless another value is specified in the same request. To have no outline on a page element, set this field to NOT_RENDERED. In this case, any other outline fields set in the same request will be ignored. Corresponds to the JSON property propertyState

Returns:

  • (String)


3715
3716
3717
# File 'generated/google/apis/slides_v1/classes.rb', line 3715

def property_state
  @property_state
end

#weightGoogle::Apis::SlidesV1::Dimension

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



3700
3701
3702
# File 'generated/google/apis/slides_v1/classes.rb', line 3700

def weight
  @weight
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3722
3723
3724
3725
3726
3727
# File 'generated/google/apis/slides_v1/classes.rb', line 3722

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