Class: ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Typography::Headings::H4
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/context_dev/models/web_extract_styleguide_response.rb,
sig/context_dev/models/web_extract_styleguide_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
908
|
# File 'sig/context_dev/models/web_extract_styleguide_response.rbs', line 908
def initialize: (
|
Instance Attribute Details
#font_fallbacks ⇒ Array<String>
Full ordered font list from resolved computed font-family
1056
|
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 1056
required :font_fallbacks, ContextDev::Internal::Type::ArrayOf[String], api_name: :fontFallbacks
|
#font_family ⇒ String
Primary face (first family in the computed stack)
1062
|
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 1062
required :font_family, String, api_name: :fontFamily
|
#font_size ⇒ String
1067
|
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 1067
required :font_size, String, api_name: :fontSize
|
#font_weight ⇒ Float
1072
|
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 1072
required :font_weight, Float, api_name: :fontWeight
|
#letter_spacing ⇒ String
1077
|
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 1077
required :letter_spacing, String, api_name: :letterSpacing
|
#line_height ⇒ String
1082
|
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 1082
required :line_height, String, api_name: :lineHeight
|
Instance Method Details
#to_hash ⇒ {
917
|
# File 'sig/context_dev/models/web_extract_styleguide_response.rbs', line 917
def to_hash: -> {
|