Class: Contrek::Concurrent::ClippedPolygonFinder
- Inherits:
-
Finder::PolygonFinder
- Object
- Finder::PolygonFinder
- Contrek::Concurrent::ClippedPolygonFinder
- Defined in:
- lib/contrek/finder/concurrent/clipped_polygon_finder.rb
Instance Attribute Summary collapse
-
#end_x ⇒ Object
readonly
Returns the value of attribute end_x.
-
#start_x ⇒ Object
readonly
Returns the value of attribute start_x.
Instance Method Summary collapse
-
#initialize(bitmap:, matcher:, start_x:, end_x:, options: {}) ⇒ ClippedPolygonFinder
constructor
A new instance of ClippedPolygonFinder.
Constructor Details
#initialize(bitmap:, matcher:, start_x:, end_x:, options: {}) ⇒ ClippedPolygonFinder
Returns a new instance of ClippedPolygonFinder.
6 7 8 9 10 |
# File 'lib/contrek/finder/concurrent/clipped_polygon_finder.rb', line 6 def initialize(bitmap:, matcher:, start_x:, end_x:, options: {}) @start_x = start_x @end_x = end_x super(bitmap, matcher, nil, ) end |
Instance Attribute Details
#end_x ⇒ Object (readonly)
Returns the value of attribute end_x.
4 5 6 |
# File 'lib/contrek/finder/concurrent/clipped_polygon_finder.rb', line 4 def end_x @end_x end |
#start_x ⇒ Object (readonly)
Returns the value of attribute start_x.
4 5 6 |
# File 'lib/contrek/finder/concurrent/clipped_polygon_finder.rb', line 4 def start_x @start_x end |