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.
876 |
# File 'sig/types.rbs', line 876
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.
873 874 875 |
# File 'sig/types.rbs', line 873 def annotations @annotations end |
#attributes ⇒ Hash[String, String] (readonly)
Returns the value of attribute attributes.
874 875 876 |
# File 'sig/types.rbs', line 874 def attributes @attributes end |
#bbox ⇒ BoundingBox (readonly)
Returns the value of attribute bbox.
872 873 874 |
# File 'sig/types.rbs', line 872 def bbox @bbox end |
#children ⇒ Array[Integer] (readonly)
Returns the value of attribute children.
868 869 870 |
# File 'sig/types.rbs', line 868 def children @children end |
#content ⇒ NodeContent (readonly)
Returns the value of attribute content.
866 867 868 |
# File 'sig/types.rbs', line 866 def content @content end |
#content_layer ⇒ ContentLayer (readonly)
Returns the value of attribute content_layer.
869 870 871 |
# File 'sig/types.rbs', line 869 def content_layer @content_layer end |
#page ⇒ Integer (readonly)
Returns the value of attribute page.
870 871 872 |
# File 'sig/types.rbs', line 870 def page @page end |
#page_end ⇒ Integer (readonly)
Returns the value of attribute page_end.
871 872 873 |
# File 'sig/types.rbs', line 871 def page_end @page_end end |
#parent ⇒ Integer (readonly)
Returns the value of attribute parent.
867 868 869 |
# File 'sig/types.rbs', line 867 def parent @parent end |