geClosePolygon
geClosePolygon(d_cellview l_points t_snapMode) =>l_pointsPolygon/ nil
Description
Returns a list of points that describe a closed polygon if a polygon could be made from the specified points. Otherwise, returns nil.
Arguments
|
Specifies how the cursor snaps when a polygon is created. For example, some possible snap modes are |
Value Returned
|
Returns a list of points that describe a resulting closed polygon. |
|
Examples
geClosePolygon(geGetEditCellView() list(0:5 1:6 1:6) "orthogonal")
=> ((1.0 6.0)
(1.0 5.0)
(0.0 5.0)
)
Related Topics
Utility Functions
Return to top