class Google::Apis::FusiontablesV2::PolygonStyle
Represents a PolygonStyle within a StyleSetting
Attributes
Color of the interior of the polygon in #RRGGBB format. Corresponds to the JSON property `fillColor` @return [String]
Represents a StyleFunction within a StyleSetting Corresponds to the JSON property `fillColorStyler` @return [Google::Apis::FusiontablesV2::StyleFunction]
Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque). Corresponds to the JSON property `fillOpacity` @return [Float]
Color of the polygon border in #RRGGBB format. Corresponds to the JSON property `strokeColor` @return [String]
Represents a StyleFunction within a StyleSetting Corresponds to the JSON property `strokeColorStyler` @return [Google::Apis::FusiontablesV2::StyleFunction]
Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque). Corresponds to the JSON property `strokeOpacity` @return [Float]
Width of the polyon border in pixels. Corresponds to the JSON property `strokeWeight` @return [Fixnum]
Represents a StyleFunction within a StyleSetting Corresponds to the JSON property `strokeWeightStyler` @return [Google::Apis::FusiontablesV2::StyleFunction]
Public Class Methods
# File generated/google/apis/fusiontables_v2/classes.rb, line 498 def initialize(**args) update!(**args) end
Public Instance Methods
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