Class: AWSCDK::QuickSight::CfnTemplate::FontSizeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::FontSizeProperty
- Defined in:
- quick_sight/cfn_template.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.
10822 10823 10824 10825 10826 10827 |
# File 'quick_sight/cfn_template.rb', line 10822 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.
10833 10834 10835 |
# File 'quick_sight/cfn_template.rb', line 10833 def absolute @absolute end |
#relative ⇒ String? (readonly)
The lexical name for the text size, proportional to its surrounding context.
10838 10839 10840 |
# File 'quick_sight/cfn_template.rb', line 10838 def relative @relative end |
Class Method Details
.jsii_properties ⇒ Object
10840 10841 10842 10843 10844 10845 |
# File 'quick_sight/cfn_template.rb', line 10840 def self.jsii_properties { :absolute => "absolute", :relative => "relative", } end |
Instance Method Details
#to_jsii ⇒ Object
10847 10848 10849 10850 10851 10852 10853 10854 |
# File 'quick_sight/cfn_template.rb', line 10847 def to_jsii result = {} result.merge!({ "absolute" => @absolute, "relative" => @relative, }) result.compact end |