Class: Google::Apis::SlidesV1::LineProperties
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::LineProperties
- 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 of the Line. When unset, these fields default to values that match the appearance of new lines created in the Slides editor.
Instance Attribute Summary collapse
-
#dash_style ⇒ String
The dash style of the line.
-
#end_arrow ⇒ String
The style of the arrow at the end of the line.
-
#end_connection ⇒ Google::Apis::SlidesV1::LineConnection
The properties for one end of a Line connection.
-
#line_fill ⇒ Google::Apis::SlidesV1::LineFill
The fill of the line.
-
#link ⇒ Google::Apis::SlidesV1::Link
A hypertext link.
-
#start_arrow ⇒ String
The style of the arrow at the beginning of the line.
-
#start_connection ⇒ Google::Apis::SlidesV1::LineConnection
The properties for one end of a Line connection.
-
#weight ⇒ Google::Apis::SlidesV1::Dimension
A magnitude in a single direction in the specified units.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LineProperties
constructor
A new instance of LineProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LineProperties
Returns a new instance of LineProperties.
1676 1677 1678 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dash_style ⇒ String
The dash style of the line.
Corresponds to the JSON property dashStyle
1639 1640 1641 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1639 def dash_style @dash_style end |
#end_arrow ⇒ String
The style of the arrow at the end of the line.
Corresponds to the JSON property endArrow
1644 1645 1646 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1644 def end_arrow @end_arrow end |
#end_connection ⇒ Google::Apis::SlidesV1::LineConnection
The properties for one end of a Line connection.
Corresponds to the JSON property endConnection
1649 1650 1651 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1649 def end_connection @end_connection end |
#line_fill ⇒ Google::Apis::SlidesV1::LineFill
The fill of the line.
Corresponds to the JSON property lineFill
1654 1655 1656 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1654 def line_fill @line_fill end |
#link ⇒ Google::Apis::SlidesV1::Link
A hypertext link.
Corresponds to the JSON property link
1659 1660 1661 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1659 def link @link end |
#start_arrow ⇒ String
The style of the arrow at the beginning of the line.
Corresponds to the JSON property startArrow
1664 1665 1666 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1664 def start_arrow @start_arrow end |
#start_connection ⇒ Google::Apis::SlidesV1::LineConnection
The properties for one end of a Line connection.
Corresponds to the JSON property startConnection
1669 1670 1671 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1669 def start_connection @start_connection end |
#weight ⇒ Google::Apis::SlidesV1::Dimension
A magnitude in a single direction in the specified units.
Corresponds to the JSON property weight
1674 1675 1676 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1674 def weight @weight end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 |
# File 'lib/google/apis/slides_v1/classes.rb', line 1681 def update!(**args) @dash_style = args[:dash_style] if args.key?(:dash_style) @end_arrow = args[:end_arrow] if args.key?(:end_arrow) @end_connection = args[:end_connection] if args.key?(:end_connection) @line_fill = args[:line_fill] if args.key?(:line_fill) @link = args[:link] if args.key?(:link) @start_arrow = args[:start_arrow] if args.key?(:start_arrow) @start_connection = args[:start_connection] if args.key?(:start_connection) @weight = args[:weight] if args.key?(:weight) end |