Class: Google::Apis::SlidesV1::ShapeProperties

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 properties of a Shape. If the shape is a placeholder shape as determined by the placeholder field, then these properties may be inherited from a parent placeholder shape. Determining the rendered value of the property depends on the corresponding property_state field value.

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

Returns a new instance of ShapeProperties



1453
1454
1455
# File 'generated/google/apis/slides_v1/classes.rb', line 1453

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

Instance Attribute Details

A hypertext link. Corresponds to the JSON property link



1451
1452
1453
# File 'generated/google/apis/slides_v1/classes.rb', line 1451

def link
  @link
end

#outlineGoogle::Apis::SlidesV1::Outline

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. Corresponds to the JSON property outline



1432
1433
1434
# File 'generated/google/apis/slides_v1/classes.rb', line 1432

def outline
  @outline
end

#shadowGoogle::Apis::SlidesV1::Shadow

The shadow properties of a page element. 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. Corresponds to the JSON property shadow



1446
1447
1448
# File 'generated/google/apis/slides_v1/classes.rb', line 1446

def shadow
  @shadow
end

#shape_background_fillGoogle::Apis::SlidesV1::ShapeBackgroundFill

The shape background fill. Corresponds to the JSON property shapeBackgroundFill



1437
1438
1439
# File 'generated/google/apis/slides_v1/classes.rb', line 1437

def shape_background_fill
  @shape_background_fill
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1458
1459
1460
1461
1462
1463
# File 'generated/google/apis/slides_v1/classes.rb', line 1458

def update!(**args)
  @outline = args[:outline] if args.key?(:outline)
  @shape_background_fill = args[:shape_background_fill] if args.key?(:shape_background_fill)
  @shadow = args[:shadow] if args.key?(:shadow)
  @link = args[:link] if args.key?(:link)
end