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])


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

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:



2174
2175
2176
# File 'sig/types.rbs', line 2174

def detections
  @detections
end

#page_heightInteger (readonly)

Returns the value of attribute page_height.

Returns:

  • (Integer)


2173
2174
2175
# File 'sig/types.rbs', line 2173

def page_height
  @page_height
end

#page_widthInteger (readonly)

Returns the value of attribute page_width.

Returns:

  • (Integer)


2172
2173
2174
# File 'sig/types.rbs', line 2172

def page_width
  @page_width
end