Class: Xberg::DocumentNode
- Inherits:
-
Object
- Object
- Xberg::DocumentNode
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#annotations ⇒ Array[TextAnnotation]
readonly
Returns the value of attribute annotations.
-
#attributes ⇒ Hash[String, String]
readonly
Returns the value of attribute attributes.
-
#bbox ⇒ BoundingBox
readonly
Returns the value of attribute bbox.
-
#children ⇒ Array[Integer]
readonly
Returns the value of attribute children.
-
#content ⇒ NodeContent
readonly
Returns the value of attribute content.
-
#content_layer ⇒ ContentLayer
readonly
Returns the value of attribute content_layer.
-
#page ⇒ Integer
readonly
Returns the value of attribute page.
-
#page_end ⇒ Integer
readonly
Returns the value of attribute page_end.
-
#parent ⇒ Integer
readonly
Returns the value of attribute parent.
Instance Method Summary collapse
-
#initialize ⇒ DocumentNode
constructor
A new instance of DocumentNode.
Constructor Details
#initialize ⇒ DocumentNode
Returns a new instance of DocumentNode.
848 |
# File 'sig/types.rbs', line 848
def initialize: (content: NodeContent, ?parent: Integer, children: Array[Integer], content_layer: ContentLayer, ?page: Integer, ?page_end: Integer, ?bbox: BoundingBox, annotations: Array[TextAnnotation], ?attributes: Hash[String, String]) -> void
|
Instance Attribute Details
#annotations ⇒ Array[TextAnnotation] (readonly)
Returns the value of attribute annotations.
845 846 847 |
# File 'sig/types.rbs', line 845 def annotations @annotations end |
#attributes ⇒ Hash[String, String] (readonly)
Returns the value of attribute attributes.
846 847 848 |
# File 'sig/types.rbs', line 846 def attributes @attributes end |
#bbox ⇒ BoundingBox (readonly)
Returns the value of attribute bbox.
844 845 846 |
# File 'sig/types.rbs', line 844 def bbox @bbox end |
#children ⇒ Array[Integer] (readonly)
Returns the value of attribute children.
840 841 842 |
# File 'sig/types.rbs', line 840 def children @children end |
#content ⇒ NodeContent (readonly)
Returns the value of attribute content.
838 839 840 |
# File 'sig/types.rbs', line 838 def content @content end |
#content_layer ⇒ ContentLayer (readonly)
Returns the value of attribute content_layer.
841 842 843 |
# File 'sig/types.rbs', line 841 def content_layer @content_layer end |
#page ⇒ Integer (readonly)
Returns the value of attribute page.
842 843 844 |
# File 'sig/types.rbs', line 842 def page @page end |
#page_end ⇒ Integer (readonly)
Returns the value of attribute page_end.
843 844 845 |
# File 'sig/types.rbs', line 843 def page_end @page_end end |
#parent ⇒ Integer (readonly)
Returns the value of attribute parent.
839 840 841 |
# File 'sig/types.rbs', line 839 def parent @parent end |