Class: Google::Apis::SlidesV1::LineConnection
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::LineConnection
- 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 properties for one end of a Line connection.
Instance Attribute Summary collapse
-
#connected_object_id ⇒ String
The object ID of the connected page element.
-
#connection_site_index ⇒ Fixnum
The index of the connection site on the connected page element.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LineConnection
constructor
A new instance of LineConnection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LineConnection
Returns a new instance of LineConnection.
1601 1602 1603 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1601 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connected_object_id ⇒ String
The object ID of the connected page element. Some page elements, such as
groups, tables, and lines do not have connection sites and therefore cannot be
connected to a connector line.
Corresponds to the JSON property connectedObjectId
1586 1587 1588 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1586 def connected_object_id @connected_object_id end |
#connection_site_index ⇒ Fixnum
The index of the connection site on the connected page element. In most cases,
it corresponds to the predefined connection site index from the ECMA-376
standard. More information on those connection sites can be found in both the
description of the "cxn" attribute in section 20.1.9.9 and "Annex H. Example
Predefined DrawingML Shape and Text Geometries" of "Office Open XML File
Formats - Fundamentals and Markup Language Reference", part 1 of ECMA-376 5th
edition. The position of each connection site can also be viewed from
Slides editor.
Corresponds to the JSON property connectionSiteIndex
1599 1600 1601 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1599 def connection_site_index @connection_site_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1606 1607 1608 1609 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1606 def update!(**args) @connected_object_id = args[:connected_object_id] if args.key?(:connected_object_id) @connection_site_index = args[:connection_site_index] if args.key?(:connection_site_index) end |