Class: Xberg::DetectionResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDetectionResult

Returns a new instance of DetectionResult.

Parameters:

  • page_width: (Integer)
  • page_height: (Integer)
  • detections: (Array[LayoutDetection])


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

def initialize: (page_width: Integer, page_height: Integer, detections: Array[LayoutDetection]) -> void

Instance Attribute Details

#detectionsArray[LayoutDetection] (readonly)

Returns the value of attribute detections.

Returns:



2071
2072
2073
# File 'sig/types.rbs', line 2071

def detections
  @detections
end

#page_heightInteger (readonly)

Returns the value of attribute page_height.

Returns:

  • (Integer)


2070
2071
2072
# File 'sig/types.rbs', line 2070

def page_height
  @page_height
end

#page_widthInteger (readonly)

Returns the value of attribute page_width.

Returns:

  • (Integer)


2069
2070
2071
# File 'sig/types.rbs', line 2069

def page_width
  @page_width
end