class Google::Apis::FusiontablesV2::PolygonStyle

Represents a PolygonStyle within a StyleSetting

Attributes

fill_color[RW]

Color of the interior of the polygon in #RRGGBB format. Corresponds to the JSON property `fillColor` @return [String]

fill_color_styler[RW]

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

fill_opacity[RW]

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

stroke_color[RW]

Color of the polygon border 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 polygon border: 0.0 (transparent) to 1.0 (opaque). Corresponds to the JSON property `strokeOpacity` @return [Float]

stroke_weight[RW]

Width of the polyon border 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 498
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 503
def update!(**args)
  @fill_color = args[:fill_color] if args.key?(:fill_color)
  @fill_color_styler = args[:fill_color_styler] if args.key?(:fill_color_styler)
  @fill_opacity = args[:fill_opacity] if args.key?(:fill_opacity)
  @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