AddPolyPoint

<< Click to Display Table of Contents >>

Navigation:  Drawing Functions >

AddPolyPoint

Previous pageReturn to chapter overviewNext page

[VCL only, for all other component types see the method TVPEPolyLine.AddPoint]

Adds a new point to the PolyLine object specified in hPolyLine.

method void VPE.AddPolyPoint(

pointer hPolyLine,

VpeCoord X,

VpeCoord Y

)

pointer hPolyLine

polyline object handle

VpeCoord X, Y

coordinate of new point

The first point you add contains the starting coordinate

Each added point contains the next coordinate where to draw to

If a point is -1, -1, the next coordinate is interpreted as a NEW starting coordinate