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.
1600 1601 1602 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1600 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
1585 1586 1587 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1585 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 the
description of the "cnx" attribute in section 20.1.9.9 and Annex H. "
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
1598 1599 1600 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1598 def connection_site_index @connection_site_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1605 1606 1607 1608 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1605 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 |