grfill


(grfill  ptlist  color  [highlight])

this function draw a "temporary graphics" filled polygon area, with specified color; optionally in highlighted mode

Arguments

'ptlist' a list of 2d/3d points to define the polygon; the area is automatically closed (min.. 3 points)
'color' the color to be used for the filled polygon area
'highlight' optionally; if specified as 1, the filled polygon area is highlighted, otherwise drawn in normal mode

Return

always returns NIL

Example

(grfill '((1 1)(8 1)(8 8)(1 8)) 1 1)

Alias


Remarks

as all "temporary graphics", the drawn filled polygon can be cleared by (grclear), or any redraw/regen operation




©  Bricsys NV. All rights reserved.