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:



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

#annotationsArray[TextAnnotation] (readonly)

Returns the value of attribute annotations.

Returns:



873
874
875
# File 'sig/types.rbs', line 873

def annotations
  @annotations
end

#attributesHash[String, String] (readonly)

Returns the value of attribute attributes.

Returns:

  • (Hash[String, String])


874
875
876
# File 'sig/types.rbs', line 874

def attributes
  @attributes
end

#bboxBoundingBox (readonly)

Returns the value of attribute bbox.

Returns:



872
873
874
# File 'sig/types.rbs', line 872

def bbox
  @bbox
end

#childrenArray[Integer] (readonly)

Returns the value of attribute children.

Returns:

  • (Array[Integer])


868
869
870
# File 'sig/types.rbs', line 868

def children
  @children
end

#contentNodeContent (readonly)

Returns the value of attribute content.

Returns:



866
867
868
# File 'sig/types.rbs', line 866

def content
  @content
end

#content_layerContentLayer (readonly)

Returns the value of attribute content_layer.

Returns:



869
870
871
# File 'sig/types.rbs', line 869

def content_layer
  @content_layer
end

#pageInteger (readonly)

Returns the value of attribute page.

Returns:

  • (Integer)


870
871
872
# File 'sig/types.rbs', line 870

def page
  @page
end

#page_endInteger (readonly)

Returns the value of attribute page_end.

Returns:

  • (Integer)


871
872
873
# File 'sig/types.rbs', line 871

def page_end
  @page_end
end

#parentInteger (readonly)

Returns the value of attribute parent.

Returns:

  • (Integer)


867
868
869
# File 'sig/types.rbs', line 867

def parent
  @parent
end