Class: Xberg::ElementMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeElementMetadata

Returns a new instance of ElementMetadata.

Parameters:

  • page_number: (Integer)
  • filename: (String)
  • coordinates: (BoundingBox)
  • element_index: (Integer)
  • additional: (Hash[String, String])


696
# File 'sig/types.rbs', line 696

def initialize: (?page_number: Integer, ?filename: String, ?coordinates: BoundingBox, ?element_index: Integer, additional: Hash[String, String]) -> void

Instance Attribute Details

#additionalHash[String, String] (readonly)

Returns the value of attribute additional.

Returns:

  • (Hash[String, String])


694
695
696
# File 'sig/types.rbs', line 694

def additional
  @additional
end

#coordinatesBoundingBox? (readonly)

Returns the value of attribute coordinates.

Returns:



692
693
694
# File 'sig/types.rbs', line 692

def coordinates
  @coordinates
end

#element_indexInteger? (readonly)

Returns the value of attribute element_index.

Returns:

  • (Integer, nil)


693
694
695
# File 'sig/types.rbs', line 693

def element_index
  @element_index
end

#filenameString? (readonly)

Returns the value of attribute filename.

Returns:

  • (String, nil)


691
692
693
# File 'sig/types.rbs', line 691

def filename
  @filename
end

#page_numberInteger? (readonly)

Returns the value of attribute page_number.

Returns:

  • (Integer, nil)


690
691
692
# File 'sig/types.rbs', line 690

def page_number
  @page_number
end