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