Class: AWSCDK::QuickSight::CfnDashboard::GeospatialNullSymbolStyleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::GeospatialNullSymbolStyleProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The symbol style for null data.
Instance Attribute Summary collapse
-
#fill_color ⇒ String?
readonly
The color and opacity values for the fill color.
-
#stroke_color ⇒ String?
readonly
The color and opacity values for the stroke color.
-
#stroke_width ⇒ Numeric?
readonly
The width of the border stroke.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(fill_color: nil, stroke_color: nil, stroke_width: nil) ⇒ GeospatialNullSymbolStyleProperty
constructor
A new instance of GeospatialNullSymbolStyleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(fill_color: nil, stroke_color: nil, stroke_width: nil) ⇒ GeospatialNullSymbolStyleProperty
Returns a new instance of GeospatialNullSymbolStyleProperty.
14917 14918 14919 14920 14921 14922 14923 14924 |
# File 'quick_sight/cfn_dashboard.rb', line 14917 def initialize(fill_color: nil, stroke_color: nil, stroke_width: nil) @fill_color = fill_color Jsii::Type.check_type(@fill_color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fillColor") unless @fill_color.nil? @stroke_color = stroke_color Jsii::Type.check_type(@stroke_color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "strokeColor") unless @stroke_color.nil? @stroke_width = stroke_width Jsii::Type.check_type(@stroke_width, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "strokeWidth") unless @stroke_width.nil? end |
Instance Attribute Details
#fill_color ⇒ String? (readonly)
The color and opacity values for the fill color.
14930 14931 14932 |
# File 'quick_sight/cfn_dashboard.rb', line 14930 def fill_color @fill_color end |
#stroke_color ⇒ String? (readonly)
The color and opacity values for the stroke color.
14935 14936 14937 |
# File 'quick_sight/cfn_dashboard.rb', line 14935 def stroke_color @stroke_color end |
#stroke_width ⇒ Numeric? (readonly)
The width of the border stroke.
14940 14941 14942 |
# File 'quick_sight/cfn_dashboard.rb', line 14940 def stroke_width @stroke_width end |
Class Method Details
.jsii_properties ⇒ Object
14942 14943 14944 14945 14946 14947 14948 |
# File 'quick_sight/cfn_dashboard.rb', line 14942 def self.jsii_properties { :fill_color => "fillColor", :stroke_color => "strokeColor", :stroke_width => "strokeWidth", } end |
Instance Method Details
#to_jsii ⇒ Object
14950 14951 14952 14953 14954 14955 14956 14957 14958 |
# File 'quick_sight/cfn_dashboard.rb', line 14950 def to_jsii result = {} result.merge!({ "fillColor" => @fill_color, "strokeColor" => @stroke_color, "strokeWidth" => @stroke_width, }) result.compact end |