define text with arbitrary height and angle
{
font = "roman-simplex";
geometry+IPort2 = {0,0};
text+IPort2[] = {"text"};
AGFloat angle = 0.0;
AGDistance height = 3.0;
};
AGText and AGTextObj specify text. If the text parameter includes newline characters ("\n"), the text appears on multiple lines. AGTextObj includes an AGDataObject for your convenience.
To plot more than one string, each string must have a corresponding XY pair in the geometry subobject.
Inherited from AGPrimitive through AGGeometryPrimitive.
Inherited from AGGeometryPrimitive.
text
color
font
fillColor
frameColor
frameWidth
horizontalJustification
verticalJustification
multiLineJustification
multiLineSpacingFactor
Inherited from AGTextParams.
The angle of the text object. The angle is given in degrees, which is a floating-point value.
The height of the text object. Height is specified as an AGDistance, which is a floating-point value. It specifies distance as a percentage of the smallest dimension of the viewport or window size, whichever has a reference connection to the object containing this parameter. Specifying a negative value produces a fixed height text object.
examples/contour1.v
examples/contour2.v
examples/gphChar.v
examples/gphUI.v
examples/rainfall.v
examples/simpGph.v
AGGeometryPrimitive / AGRenderPrimitive