class Google::Apis::SheetsV4::LineStyle

Properties that describe the style of a line.

Attributes

type[RW]

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

width[RW]

The thickness of the line, in px. Corresponds to the JSON property `width` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sheets_v4/classes.rb, line 6488
def update!(**args)
  @type = args[:type] if args.key?(:type)
  @width = args[:width] if args.key?(:width)
end