version 6.0
DR START POLYGON (area)
| Parameter | Type | Description | |
| area | Longint | 4D Draw area |
Description
The command DR START POLYGON begins a new polygon for area. This command tells 4D Draw to create a space in memory for building the new polygon. The polygon is incomplete, and is therefore not drawn, until a matching call to DR End polygon is made. If a polygon is already in progress, DR START POLYGON starts the drawing process again.
Example
The following example creates diamond-shaped polygon.
DR START POLYGON (Area) DR POLYGON LINE (Area;1.5;1;0) DR POLYGON LINE (Area;2;1.5;0) DR POLYGON LINE (Area;1.5;2;0) DR POLYGON LINE (Area;1;1.5;0) DR POLYGON LINE (Area;1.5;1;0) $ID := DR End polygon (Area)
See Also
DR End polygon, DR POLYGON CURVE, DR POLYGON LINE.