Class: Xberg::DocumentNode

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDocumentNode

Returns a new instance of DocumentNode.

Parameters:



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

#annotationsArray[TextAnnotation] (readonly)

Returns the value of attribute annotations.

Returns:



843
844
845
# File 'sig/types.rbs', line 843

def annotations
  @annotations
end

#attributesHash[String, String] (readonly)

Returns the value of attribute attributes.

Returns:

  • (Hash[String, String])


844
845
846
# File 'sig/types.rbs', line 844

def attributes
  @attributes
end

#bboxBoundingBox (readonly)

Returns the value of attribute bbox.

Returns:



842
843
844
# File 'sig/types.rbs', line 842

def bbox
  @bbox
end

#childrenArray[Integer] (readonly)

Returns the value of attribute children.

Returns:

  • (Array[Integer])


838
839
840
# File 'sig/types.rbs', line 838

def children
  @children
end

#contentNodeContent (readonly)

Returns the value of attribute content.

Returns:



836
837
838
# File 'sig/types.rbs', line 836

def content
  @content
end

#content_layerContentLayer (readonly)

Returns the value of attribute content_layer.

Returns:



839
840
841
# File 'sig/types.rbs', line 839

def content_layer
  @content_layer
end

#pageInteger (readonly)

Returns the value of attribute page.

Returns:

  • (Integer)


840
841
842
# File 'sig/types.rbs', line 840

def page
  @page
end

#page_endInteger (readonly)

Returns the value of attribute page_end.

Returns:

  • (Integer)


841
842
843
# File 'sig/types.rbs', line 841

def page_end
  @page_end
end

#parentInteger (readonly)

Returns the value of attribute parent.

Returns:

  • (Integer)


837
838
839
# File 'sig/types.rbs', line 837

def parent
  @parent
end