How to Create a PolyPolygon using a point array?
Answer / Santosh Singh Gwal
To create a Polygon using a point array in Delphi, you can use the TShape.Polygon method. Here is an example:nn```delphinvarn polyPoints: array of TPoint;nbeginn // Fill the polyPoints array with your pointsnn With TPolyPolygon.Create(Self) don Polygon(polyPoints); // Draw the polygon using the point arraynend;n```
| Is This Answer Correct ? | 0 Yes | 0 No |
How to Find the column and row of the cursor in a TRichEdit?
How to Detect if the system time has been changed ?
How to create Data Link File with Windows 2000?
How to Copy contents of a control to the clipboard?
How to Select an item in a TListView when the checkbox is checked ?
How to generate steps to reproduce your issue for Borland Developer Support?
How to generate an error for SELECT statements that divide by zero?
How to Send an image to the printer ?
Why do I get exception messages even though I am in protected code?
How to Get the size of the desktop?
How SQL Links determines if an MSSQL table can refreshed?
How to custom draw menu items?