Class: Xberg::HierarchicalBlock

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHierarchicalBlock

Returns a new instance of HierarchicalBlock.

Parameters:



1205
# File 'sig/types.rbs', line 1205

def initialize: (text: String, font_size: Float, level: String, ?bbox: HierarchicalBoundingBox) -> void

Instance Attribute Details

#bboxHierarchicalBoundingBox? (readonly)

Returns the value of attribute bbox.

Returns:



1203
1204
1205
# File 'sig/types.rbs', line 1203

def bbox
  @bbox
end

#font_sizeFloat (readonly)

Returns the value of attribute font_size.

Returns:

  • (Float)


1201
1202
1203
# File 'sig/types.rbs', line 1201

def font_size
  @font_size
end

#levelString (readonly)

Returns the value of attribute level.

Returns:

  • (String)


1202
1203
1204
# File 'sig/types.rbs', line 1202

def level
  @level
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1200
1201
1202
# File 'sig/types.rbs', line 1200

def text
  @text
end