TOC PREV NEXT INDEX

AGPolygon / AGPolygonObj

Synopsis

define a polygon outline, that is filled or filled with a frame

AGGeometryPrimitive AGPolygon
{
     geometry+IPort2 = {-2,0, 2,0, 0,2, 0,-2, -2,0};
     AGColor fillColor = "transparent";
     AGColor frameColor = "antibackground";
     AGDistance frameWidth = 0.25;
};

Description

AGPolygon and AGPolygonObj define a polygon, which can have internal intersections. AGPolygonObj includes an AGDataObject for your convenience.

Subobjects

visibility

priority

Inherited from AGPrimitive through AGGeometryPrimitive.

geometry

Inherited from AGGeometryPrimitive.

fillColor

frameColor

frameWidth

Fill color, frame color, and frame width of the polygon. If frameWidth is 0.0, no frame is drawn. If fillColor is "transparent", the interior is not drawn.

Example

Not Available

File

v/AG.v

See Also Related Modules

AGDataObject
AGGeometryPrimitive / AGRenderPrimitive
AGPrimitive

TOC PREV NEXT INDEX