Class: Google::Apis::SlidesV1::LineProperties
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SlidesV1::LineProperties
 
- 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 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. 
- 
  
    
      #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. 
- 
  
    
      #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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LineProperties
Returns a new instance of LineProperties
| 1626 1627 1628 | # File 'generated/google/apis/slides_v1/classes.rb', line 1626 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#dash_style ⇒ String
The dash style of the line.
Corresponds to the JSON property dashStyle
| 1599 1600 1601 | # File 'generated/google/apis/slides_v1/classes.rb', line 1599 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
| 1604 1605 1606 | # File 'generated/google/apis/slides_v1/classes.rb', line 1604 def end_arrow @end_arrow end | 
#line_fill ⇒ Google::Apis::SlidesV1::LineFill
The fill of the line.
Corresponds to the JSON property lineFill
| 1609 1610 1611 | # File 'generated/google/apis/slides_v1/classes.rb', line 1609 def line_fill @line_fill end | 
#link ⇒ Google::Apis::SlidesV1::Link
A hypertext link.
Corresponds to the JSON property link
| 1614 1615 1616 | # File 'generated/google/apis/slides_v1/classes.rb', line 1614 def link @link end | 
#start_arrow ⇒ String
The style of the arrow at the beginning of the line.
Corresponds to the JSON property startArrow
| 1619 1620 1621 | # File 'generated/google/apis/slides_v1/classes.rb', line 1619 def start_arrow @start_arrow end | 
#weight ⇒ Google::Apis::SlidesV1::Dimension
A magnitude in a single direction in the specified units.
Corresponds to the JSON property weight
| 1624 1625 1626 | # File 'generated/google/apis/slides_v1/classes.rb', line 1624 def weight @weight end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1631 1632 1633 1634 1635 1636 1637 1638 | # File 'generated/google/apis/slides_v1/classes.rb', line 1631 def update!(**args) @dash_style = args[:dash_style] if args.key?(:dash_style) @end_arrow = args[:end_arrow] if args.key?(:end_arrow) @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) @weight = args[:weight] if args.key?(:weight) end |