class Google::Apis::SlidesV1::LineProperties

The properties of the Line. When unset, these fields default to values that match the appearance of new lines created in the Slides editor.

Attributes

dash_style[RW]

The dash style of the line. Corresponds to the JSON property `dashStyle` @return [String]

end_arrow[RW]

The style of the arrow at the end of the line. Corresponds to the JSON property `endArrow` @return [String]

end_connection[RW]

The properties for one end of a Line connection. Corresponds to the JSON property `endConnection` @return [Google::Apis::SlidesV1::LineConnection]

line_fill[RW]

The fill of the line. Corresponds to the JSON property `lineFill` @return [Google::Apis::SlidesV1::LineFill]

start_arrow[RW]

The style of the arrow at the beginning of the line. Corresponds to the JSON property `startArrow` @return [String]

start_connection[RW]

The properties for one end of a Line connection. Corresponds to the JSON property `startConnection` @return [Google::Apis::SlidesV1::LineConnection]

weight[RW]

A magnitude in a single direction in the specified units. Corresponds to the JSON property `weight` @return [Google::Apis::SlidesV1::Dimension]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 1676
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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