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
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
File
See Also Related Modules