ResultPoint
in package
AbstractYes
Encapsulates a point of interest in an image containing a barcode. Typically, this would be the location of a finder pattern or the corner of the barcode, for example.
Tags
Table of Contents
Properties
- $estimatedModuleSize : float
- $x : float
- $y : float
Methods
- __construct() : mixed
- aboutEquals() : bool
- Determines if this finder pattern "about equals" a finder pattern at the stated position and size -- meaning, it is at nearly the same center with nearly the same size.
- getEstimatedModuleSize() : float
- getX() : float
- getY() : float
Properties
$estimatedModuleSize
protected
float
$estimatedModuleSize
$x
protected
float
$x
$y
protected
float
$y
Methods
__construct()
public
__construct(float $x, float $y, float $estimatedModuleSize) : mixed
Parameters
- $x : float
- $y : float
- $estimatedModuleSize : float
aboutEquals()
Determines if this finder pattern "about equals" a finder pattern at the stated position and size -- meaning, it is at nearly the same center with nearly the same size.
public
aboutEquals(float $moduleSize, float $i, float $j) : bool
Parameters
- $moduleSize : float
- $i : float
- $j : float
Return values
boolgetEstimatedModuleSize()
public
getEstimatedModuleSize() : float
Return values
floatgetX()
public
getX() : float
Return values
floatgetY()
public
getY() : float