AGRectangle / AGRectangleObj


Synopsis

define a rectangle outline that is filled or filled with a frame

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

Description

AGRectangle and AGRectangleObj define a rectangle. AGRectangleObj 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 rectangle. 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