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 ⇒ enum_ContentLayer
readonly
Returns the value of attribute content_layer.
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#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.
610 |
# File 'sig/types.rbs', line 610 def initialize: (id: String, content: NodeContent, ?parent: Integer, children: Array[Integer], content_layer: enum_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.
607 608 609 |
# File 'sig/types.rbs', line 607 def annotations @annotations end |
#attributes ⇒ Hash[String, String]? (readonly)
Returns the value of attribute attributes.
608 609 610 |
# File 'sig/types.rbs', line 608 def attributes @attributes end |
#bbox ⇒ BoundingBox? (readonly)
Returns the value of attribute bbox.
606 607 608 |
# File 'sig/types.rbs', line 606 def bbox @bbox end |
#children ⇒ Array[Integer] (readonly)
Returns the value of attribute children.
602 603 604 |
# File 'sig/types.rbs', line 602 def children @children end |
#content ⇒ NodeContent (readonly)
Returns the value of attribute content.
600 601 602 |
# File 'sig/types.rbs', line 600 def content @content end |
#content_layer ⇒ enum_ContentLayer (readonly)
Returns the value of attribute content_layer.
603 604 605 |
# File 'sig/types.rbs', line 603 def content_layer @content_layer end |
#id ⇒ String (readonly)
Returns the value of attribute id.
599 600 601 |
# File 'sig/types.rbs', line 599 def id @id end |
#page ⇒ Integer? (readonly)
Returns the value of attribute page.
604 605 606 |
# File 'sig/types.rbs', line 604 def page @page end |
#page_end ⇒ Integer? (readonly)
Returns the value of attribute page_end.
605 606 607 |
# File 'sig/types.rbs', line 605 def page_end @page_end end |
#parent ⇒ Integer? (readonly)
Returns the value of attribute parent.
601 602 603 |
# File 'sig/types.rbs', line 601 def parent @parent end |