AGArrow / AGArrowObj


Synopsis

Defines an arrow


AGGeometryPrimitive AGArrow
{
geometry+IPort2 = {0,0,1,0};
AGColor color = "antibackground";
AGDistance width = 0.5;
};

Input Port

AGGeometryPrimitive => geometry

Output Port

obj => Obj (for AGArrowObj )

Description

These objects draw one arrow, with a start and end point given by the geometry subobject. The end point is drawn as an arrow head.

AGArrowObj is a macro that includes an AGDataObject for convenience.

Subobjects

visibility
priority

Inherited from AGPrimitive through AGGeometryPrimitive.

geometry

Specifies the start and end point of the arrow. This value is inherited from AGGeometryPrimitive.

color
width

The color and line width of the arrow.

Example

Libraries.Examples.Annotation_Graphing.rainfall
examples/rainfall.v

File

v/ag.v

See Also

Related modules

•      AGDataObject

•      AGGeometryPrimitive / AGRenderPrimitive

•      AGPrimitive

•      AGAxisParams