Class: AWSCDK::QuickSight::CfnDashboard::GeospatialCircleSymbolStyleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::GeospatialCircleSymbolStyleProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The properties for a circle symbol style.
Instance Attribute Summary collapse
-
#circle_radius ⇒ AWSCDK::IResolvable, ...
readonly
The radius of the circle.
-
#fill_color ⇒ AWSCDK::IResolvable, ...
readonly
The color and opacity values for the fill color.
-
#stroke_color ⇒ AWSCDK::IResolvable, ...
readonly
The color and opacity values for the stroke color.
-
#stroke_width ⇒ AWSCDK::IResolvable, ...
readonly
The width of the stroke (border).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(circle_radius: nil, fill_color: nil, stroke_color: nil, stroke_width: nil) ⇒ GeospatialCircleSymbolStyleProperty
constructor
A new instance of GeospatialCircleSymbolStyleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(circle_radius: nil, fill_color: nil, stroke_color: nil, stroke_width: nil) ⇒ GeospatialCircleSymbolStyleProperty
Returns a new instance of GeospatialCircleSymbolStyleProperty.
13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 |
# File 'quick_sight/cfn_dashboard.rb', line 13581 def initialize(circle_radius: nil, fill_color: nil, stroke_color: nil, stroke_width: nil) @circle_radius = circle_radius.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialCircleRadiusProperty.new(**circle_radius.transform_keys(&:to_sym)) : circle_radius Jsii::Type.check_type(@circle_radius, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsQ2lyY2xlUmFkaXVzUHJvcGVydHkifV19fQ==")), "circleRadius") unless @circle_radius.nil? @fill_color = fill_color.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialColorProperty.new(**fill_color.transform_keys(&:to_sym)) : fill_color Jsii::Type.check_type(@fill_color, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsQ29sb3JQcm9wZXJ0eSJ9XX19")), "fillColor") unless @fill_color.nil? @stroke_color = stroke_color.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialColorProperty.new(**stroke_color.transform_keys(&:to_sym)) : stroke_color Jsii::Type.check_type(@stroke_color, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsQ29sb3JQcm9wZXJ0eSJ9XX19")), "strokeColor") unless @stroke_color.nil? @stroke_width = stroke_width.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialLineWidthProperty.new(**stroke_width.transform_keys(&:to_sym)) : stroke_width Jsii::Type.check_type(@stroke_width, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsTGluZVdpZHRoUHJvcGVydHkifV19fQ==")), "strokeWidth") unless @stroke_width.nil? end |
Instance Attribute Details
#circle_radius ⇒ AWSCDK::IResolvable, ... (readonly)
The radius of the circle.
13596 13597 13598 |
# File 'quick_sight/cfn_dashboard.rb', line 13596 def circle_radius @circle_radius end |
#fill_color ⇒ AWSCDK::IResolvable, ... (readonly)
The color and opacity values for the fill color.
13601 13602 13603 |
# File 'quick_sight/cfn_dashboard.rb', line 13601 def fill_color @fill_color end |
#stroke_color ⇒ AWSCDK::IResolvable, ... (readonly)
The color and opacity values for the stroke color.
13606 13607 13608 |
# File 'quick_sight/cfn_dashboard.rb', line 13606 def stroke_color @stroke_color end |
#stroke_width ⇒ AWSCDK::IResolvable, ... (readonly)
The width of the stroke (border).
13611 13612 13613 |
# File 'quick_sight/cfn_dashboard.rb', line 13611 def stroke_width @stroke_width end |
Class Method Details
.jsii_properties ⇒ Object
13613 13614 13615 13616 13617 13618 13619 13620 |
# File 'quick_sight/cfn_dashboard.rb', line 13613 def self.jsii_properties { :circle_radius => "circleRadius", :fill_color => "fillColor", :stroke_color => "strokeColor", :stroke_width => "strokeWidth", } end |
Instance Method Details
#to_jsii ⇒ Object
13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 |
# File 'quick_sight/cfn_dashboard.rb', line 13622 def to_jsii result = {} result.merge!({ "circleRadius" => @circle_radius, "fillColor" => @fill_color, "strokeColor" => @stroke_color, "strokeWidth" => @stroke_width, }) result.compact end |