Class: AWSCDK::QuickSight::CfnAnalysis::FontSizeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::FontSizeProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The option that determines the text display size.
Instance Attribute Summary collapse
-
#absolute ⇒ String?
readonly
The font size that you want to use in px.
-
#relative ⇒ String?
readonly
The lexical name for the text size, proportional to its surrounding context.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(absolute: nil, relative: nil) ⇒ FontSizeProperty
constructor
A new instance of FontSizeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(absolute: nil, relative: nil) ⇒ FontSizeProperty
Returns a new instance of FontSizeProperty.
11014 11015 11016 11017 11018 11019 |
# File 'quick_sight/cfn_analysis.rb', line 11014 def initialize(absolute: nil, relative: nil) @absolute = absolute Jsii::Type.check_type(@absolute, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "absolute") unless @absolute.nil? @relative = relative Jsii::Type.check_type(@relative, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "relative") unless @relative.nil? end |
Instance Attribute Details
#absolute ⇒ String? (readonly)
The font size that you want to use in px.
11025 11026 11027 |
# File 'quick_sight/cfn_analysis.rb', line 11025 def absolute @absolute end |
#relative ⇒ String? (readonly)
The lexical name for the text size, proportional to its surrounding context.
11030 11031 11032 |
# File 'quick_sight/cfn_analysis.rb', line 11030 def relative @relative end |
Class Method Details
.jsii_properties ⇒ Object
11032 11033 11034 11035 11036 11037 |
# File 'quick_sight/cfn_analysis.rb', line 11032 def self.jsii_properties { :absolute => "absolute", :relative => "relative", } end |
Instance Method Details
#to_jsii ⇒ Object
11039 11040 11041 11042 11043 11044 11045 11046 |
# File 'quick_sight/cfn_analysis.rb', line 11039 def to_jsii result = {} result.merge!({ "absolute" => @absolute, "relative" => @relative, }) result.compact end |