AddPolygonPoint

<< Click to Display Table of Contents >>

Navigation:  Drawing Functions >

AddPolygonPoint

Previous pageReturn to chapter overviewNext page

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

Adds a new point to the Polygon object specified by the handle hPolygon.

method void VPE.AddPolygonPoint(

pointer hPolygon,

VpeCoord X,

VpeCoord Y

)

pointer hPolygon

Polygon 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