Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits BaseJavaClass.
Public Member Functions | |
getQuadrangle () | |
getAngle () | |
getPoints () | |
getRectangle () | |
equals ($obj) | |
hashCode () | |
toString () | |
Static Public Member Functions | |
static | op_Equality (BarCodeRegionParameters $first, BarCodeRegionParameters $second) |
static | op_Inequality (BarCodeRegionParameters $first, BarCodeRegionParameters $second) |
Represents the recognized barcode's region and barcode angle This sample shows how to get barcode Angle and bounding quadrangle values $generator = new BarcodeGenerator(EncodeTypes::Code128, "12345"); $generator->save("test.png"); $reader = new BarCodeReader("test.png", DecodeType::CODE_39_STANDARD, DecodeType::CODE_128); foreach($reader->readBarCodes() as $result) { print("BarCode CodeText: ".$result->getCodeText()); print("BarCode Angle: ".$result->getRegion()->getAngle()); print("BarCode Quadrangle: ".$result->getRegion()->getQuadrangle()); }
equals | ( | $obj | ) |
Returns a value indicating whether this instance is equal to a specified BarCodeRegionParameters value.
obj | An System.Object value to compare to this instance. |
getAngle | ( | ) |
Gets the angle of the barcode (0-360). Value: The angle for barcode (0-360).
getPoints | ( | ) |
Gets Points array bounding barcode region Value: Returns Points array bounding barcode region
getQuadrangle | ( | ) |
Gets Quadrangle bounding barcode region Value: Returns Quadrangle bounding barcode region
getRectangle | ( | ) |
Gets Rectangle bounding barcode region Value: Returns Rectangle bounding barcode region
hashCode | ( | ) |
Returns the hash code for this instance.
|
static |
Returns a value indicating whether the first BarCodeRegionParameters value is equal to the second.
first | A first compared value |
second | A second compared value |
|
static |
Returns a value indicating if the first BarCodeRegionParameters value is different from the second.
first | A first compared value |
second | A second compared value |
toString | ( | ) |
Returns a human-readable string representation of this BarCodeRegionParameters.