class Google::Apis::SlidesV1::Line
A PageElement
kind representing a non-connector line, straight connector, curved connector, or bent connector.
Attributes
line_category[RW]
The category of the line. It matches the `category` specified in CreateLineRequest
, and can be updated with UpdateLineCategoryRequest
. Corresponds to the JSON property `lineCategory` @return [String]
line_properties[RW]
The properties of the Line
. When unset, these fields default to values that match the appearance of new lines created in the Slides editor. Corresponds to the JSON property `lineProperties` @return [Google::Apis::SlidesV1::LineProperties]
line_type[RW]
The type of the line. Corresponds to the JSON property `lineType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 1563 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 1568 def update!(**args) @line_category = args[:line_category] if args.key?(:line_category) @line_properties = args[:line_properties] if args.key?(:line_properties) @line_type = args[:line_type] if args.key?(:line_type) end