PolyLine

Inheritance: java.lang.Object

public class PolyLine

Contour that consists of polylines

Constructors

Constructor Description
PolyLine(List<System.Drawing.Point> lineNodes, Dictionary<Integer,LineSegment> segmentsMap, int number) Initializes a new instance of the PolyLine class.

Fields

Field Description
AllPoints Full line
Nodes Nodes (ordered list)
Number Number of this polyline (colum or row number)
SegmentsMap Node map.

Methods

Method Description
calculatePolyLine(List<System.Drawing.Point> lineNodes) Calculates a polyline from line nodes
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

PolyLine(List<System.Drawing.Point> lineNodes, Dictionary<Integer,LineSegment> segmentsMap, int number)

public PolyLine(List<System.Drawing.Point> lineNodes, Dictionary<Integer,LineSegment> segmentsMap, int number)

Initializes a new instance of the PolyLine class. Calculates FullLine by the nodes

Parameters:

Parameter Type Description
lineNodes java.util.List<com.aspose.ms.System.Drawing.Point> Nodes
segmentsMap com.aspose.barcode.java.Dictionary<java.lang.Integer,com.aspose.barcode.barcoderecognition.recognition.datamatrix.oldalgorithm.cells.LineSegment>
number int A number

AllPoints

public PointList AllPoints

Full line

Nodes

public List<System.Drawing.Point> Nodes

Nodes (ordered list)

Number

public int Number

Number of this polyline (colum or row number)

SegmentsMap

public Dictionary<Integer,LineSegment> SegmentsMap

Node map. Key is the node index. Value is the joined segment

calculatePolyLine(List<System.Drawing.Point> lineNodes)

public static PointList calculatePolyLine(List<System.Drawing.Point> lineNodes)

Calculates a polyline from line nodes

Parameters:

Parameter Type Description
lineNodes java.util.List<com.aspose.ms.System.Drawing.Point> Line nodes

Returns: PointList - All points of the polyline

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

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