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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/slides_v1/classes.rb,
lib/google/apis/slides_v1/representations.rb,
lib/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

Constructor Details

#initialize(**args) ⇒ Outline

Returns a new instance of Outline.



1941
1942
1943
# File 'lib/google/apis/slides_v1/classes.rb', line 1941

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)


1920
1921
1922
# File 'lib/google/apis/slides_v1/classes.rb', line 1920

def dash_style
  @dash_style
end

#outline_fillGoogle::Apis::SlidesV1::OutlineFill

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



1925
1926
1927
# File 'lib/google/apis/slides_v1/classes.rb', line 1925

def outline_fill
  @outline_fill
end

#property_stateString

The outline property state. Updating the outline on a page element will implicitly update this field to RENDERED, 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)


1934
1935
1936
# File 'lib/google/apis/slides_v1/classes.rb', line 1934

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



1939
1940
1941
# File 'lib/google/apis/slides_v1/classes.rb', line 1939

def weight
  @weight
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1946
1947
1948
1949
1950
1951
# File 'lib/google/apis/slides_v1/classes.rb', line 1946

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