Class: Xberg::HierarchicalBlock
- Inherits:
-
Object
- Object
- Xberg::HierarchicalBlock
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#bbox ⇒ HierarchicalBoundingBox?
readonly
Returns the value of attribute bbox.
-
#font_size ⇒ Float
readonly
Returns the value of attribute font_size.
-
#level ⇒ String
readonly
Returns the value of attribute level.
-
#text ⇒ String
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize ⇒ HierarchicalBlock
constructor
A new instance of HierarchicalBlock.
Constructor Details
#initialize ⇒ HierarchicalBlock
Returns a new instance of HierarchicalBlock.
1205 |
# File 'sig/types.rbs', line 1205 def initialize: (text: String, font_size: Float, level: String, ?bbox: HierarchicalBoundingBox) -> void |
Instance Attribute Details
#bbox ⇒ HierarchicalBoundingBox? (readonly)
Returns the value of attribute bbox.
1203 1204 1205 |
# File 'sig/types.rbs', line 1203 def bbox @bbox end |
#font_size ⇒ Float (readonly)
Returns the value of attribute font_size.
1201 1202 1203 |
# File 'sig/types.rbs', line 1201 def font_size @font_size end |
#level ⇒ String (readonly)
Returns the value of attribute level.
1202 1203 1204 |
# File 'sig/types.rbs', line 1202 def level @level end |
#text ⇒ String (readonly)
Returns the value of attribute text.
1200 1201 1202 |
# File 'sig/types.rbs', line 1200 def text @text end |