ZebraScanGeometry

Inheritance: java.lang.Object

public class ZebraScanGeometry

Constructors

Constructor Description
ZebraScanGeometry()

Methods

Method Description
equals(Object arg0)
getClass()
getDiagonal3Pi4Lines(ByteBitmap aBitmap, System.Drawing.Rectangle aRect, int GapSize) create 3Pi4 scan lines list from aRect and fit them to aBitmap size
getDiagonalPi4Lines(ByteBitmap aBitmap, System.Drawing.Rectangle aRect, int GapSize) create Pi4 scan lines list from aRect and fit them to aBitmap size
getHorizontalLines(ByteBitmap aBitmap, System.Drawing.Rectangle aRect, int GapSize) create horizontal scan lines list from aRect and fit them to aBitmap size
getQuadLines(QuadPoints aQuad, int GapSize) create quadrangle scan lines list from start to stop edge
getReverseLines(List aList) Mirrors scan lines and replaces start and end points
getReverseQuad(QuadPoints aQuad) create quadrangle with mirrored direction, where start edge begen end edge
getScanRectangleLines(ByteBitmap aBitmap, ScanRectangle aRect) Create scan lines list from ScanRectangle and fit them to aBitmap size
getVerticalLines(ByteBitmap aBitmap, System.Drawing.Rectangle aRect, int GapSize) create vertical scan lines list from aRect and fit them to aBitmap size
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ZebraScanGeometry()

public ZebraScanGeometry()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDiagonal3Pi4Lines(ByteBitmap aBitmap, System.Drawing.Rectangle aRect, int GapSize)

public static List<DoublePoints> getDiagonal3Pi4Lines(ByteBitmap aBitmap, System.Drawing.Rectangle aRect, int GapSize)

create 3Pi4 scan lines list from aRect and fit them to aBitmap size

Parameters:

Parameter Type Description
aBitmap ByteBitmap processing bitmap
aRect com.aspose.ms.System.Drawing.Rectangle rectangle
GapSize int gap between scans, 1 no gap

Returns: List - scan lines list

getDiagonalPi4Lines(ByteBitmap aBitmap, System.Drawing.Rectangle aRect, int GapSize)

public static List<DoublePoints> getDiagonalPi4Lines(ByteBitmap aBitmap, System.Drawing.Rectangle aRect, int GapSize)

create Pi4 scan lines list from aRect and fit them to aBitmap size

Parameters:

Parameter Type Description
aBitmap ByteBitmap processing bitmap
aRect com.aspose.ms.System.Drawing.Rectangle rectangle
GapSize int gap between scans, 1 no gap

Returns: List - scan lines list

getHorizontalLines(ByteBitmap aBitmap, System.Drawing.Rectangle aRect, int GapSize)

public static List<DoublePoints> getHorizontalLines(ByteBitmap aBitmap, System.Drawing.Rectangle aRect, int GapSize)

create horizontal scan lines list from aRect and fit them to aBitmap size

Parameters:

Parameter Type Description
aBitmap ByteBitmap processing bitmap
aRect com.aspose.ms.System.Drawing.Rectangle rectangle
GapSize int gap between scans, 1 no gap

Returns: List - scan lines list

getQuadLines(QuadPoints aQuad, int GapSize)

public static List<DoublePoints> getQuadLines(QuadPoints aQuad, int GapSize)

create quadrangle scan lines list from start to stop edge

Parameters:

Parameter Type Description
aQuad QuadPoints quadrangle
GapSize int gap between scans, 1 no gap

Returns: List - scan lines list

getReverseLines(List aList)

public static List<DoublePoints> getReverseLines(List<DoublePoints> aList)

Mirrors scan lines and replaces start and end points

Parameters:

Parameter Type Description
aList java.util.List<com.aspose.barcode.barcoderecognition.common.algorithms.DoublePoints> original list

Returns: List - mirrored list

getReverseQuad(QuadPoints aQuad)

public static QuadPoints getReverseQuad(QuadPoints aQuad)

create quadrangle with mirrored direction, where start edge begen end edge

Parameters:

Parameter Type Description
aQuad QuadPoints original quadrangle

Returns: QuadPoints - mirrored qaudrangle

getScanRectangleLines(ByteBitmap aBitmap, ScanRectangle aRect)

public static List<DoublePoints> getScanRectangleLines(ByteBitmap aBitmap, ScanRectangle aRect)

Create scan lines list from ScanRectangle and fit them to aBitmap size

Parameters:

Parameter Type Description
aBitmap ByteBitmap processing bitmap
aRect ScanRectangle rectangle with scan direction

Returns: List - scan lines list

getVerticalLines(ByteBitmap aBitmap, System.Drawing.Rectangle aRect, int GapSize)

public static List<DoublePoints> getVerticalLines(ByteBitmap aBitmap, System.Drawing.Rectangle aRect, int GapSize)

create vertical scan lines list from aRect and fit them to aBitmap size

Parameters:

Parameter Type Description
aBitmap ByteBitmap processing bitmap
aRect com.aspose.ms.System.Drawing.Rectangle rectangle
GapSize int gap between scans, 1 no gap

Returns: List - scan lines list

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int