class Google::Apis::FusiontablesV2::LineStyle

Represents a LineStyle within a StyleSetting

Attributes

stroke_color[RW]

Color of the line in #RRGGBB format. Corresponds to the JSON property `strokeColor` @return [String]

stroke_color_styler[RW]

Represents a StyleFunction within a StyleSetting Corresponds to the JSON property `strokeColorStyler` @return [Google::Apis::FusiontablesV2::StyleFunction]

stroke_opacity[RW]

Opacity of the line : 0.0 (transparent) to 1.0 (opaque). Corresponds to the JSON property `strokeOpacity` @return [Float]

stroke_weight[RW]

Width of the line in pixels. Corresponds to the JSON property `strokeWeight` @return [Fixnum]

stroke_weight_styler[RW]

Represents a StyleFunction within a StyleSetting Corresponds to the JSON property `strokeWeightStyler` @return [Google::Apis::FusiontablesV2::StyleFunction]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/fusiontables_v2/classes.rb, line 369
def update!(**args)
  @stroke_color = args[:stroke_color] if args.key?(:stroke_color)
  @stroke_color_styler = args[:stroke_color_styler] if args.key?(:stroke_color_styler)
  @stroke_opacity = args[:stroke_opacity] if args.key?(:stroke_opacity)
  @stroke_weight = args[:stroke_weight] if args.key?(:stroke_weight)
  @stroke_weight_styler = args[:stroke_weight_styler] if args.key?(:stroke_weight_styler)
end