com.aspose.barcoderecognition
Class BarCodeRegion

java.lang.Object
  extended by com.aspose.barcoderecognition.BarCodeRegion

public final class BarCodeRegion
extends Object

Represents the barcode's region Draw edges of the barcode region, then fill it.


Method Summary
 void drawBarCodeEdges(Graphics2D g, Stroke pen, Paint brush)
           Draws the bar code edges.
 void fillBarCodeRegion(Graphics2D g, Paint brush)
           Fills the bar code region.
 Point2D.Float[] getPoints()
           Gets the points of the region.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPoints

public Point2D.Float[] getPoints()

Gets the points of the region.


drawBarCodeEdges

public void drawBarCodeEdges(Graphics2D g,
                             Stroke pen,
                             Paint brush)

Draws the bar code edges.

Parameters:
g - The graphics.
pen - The pen.

fillBarCodeRegion

public void fillBarCodeRegion(Graphics2D g,
                              Paint brush)

Fills the bar code region.

Parameters:
g - The graphics.
brush - The brush.


Copyright (c) 2002-2012 Aspose Pty Ltd. All Rights Reserved.