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.
846 |
# File 'sig/types.rbs', line 846
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.
843 844 845 |
# File 'sig/types.rbs', line 843 def annotations @annotations end |
#attributes ⇒ Hash[String, String] (readonly)
Returns the value of attribute attributes.
844 845 846 |
# File 'sig/types.rbs', line 844 def attributes @attributes end |
#bbox ⇒ BoundingBox (readonly)
Returns the value of attribute bbox.
842 843 844 |
# File 'sig/types.rbs', line 842 def bbox @bbox end |
#children ⇒ Array[Integer] (readonly)
Returns the value of attribute children.
838 839 840 |
# File 'sig/types.rbs', line 838 def children @children end |
#content ⇒ NodeContent (readonly)
Returns the value of attribute content.
836 837 838 |
# File 'sig/types.rbs', line 836 def content @content end |
#content_layer ⇒ ContentLayer (readonly)
Returns the value of attribute content_layer.
839 840 841 |
# File 'sig/types.rbs', line 839 def content_layer @content_layer end |
#page ⇒ Integer (readonly)
Returns the value of attribute page.
840 841 842 |
# File 'sig/types.rbs', line 840 def page @page end |
#page_end ⇒ Integer (readonly)
Returns the value of attribute page_end.
841 842 843 |
# File 'sig/types.rbs', line 841 def page_end @page_end end |
#parent ⇒ Integer (readonly)
Returns the value of attribute parent.
837 838 839 |
# File 'sig/types.rbs', line 837 def parent @parent end |