LineSpecific

These are common commands that apply to all widgets that have them injected.

Members

Functions

getArrowPosition
string getArrowPosition()

Get the arrow position.

getArrowShape
uint[3] getArrowShape()

Get the arrow shape.

getCapStyle
string getCapStyle()

Get the cap style.

setArrowPosition
auto setArrowPosition(string arrowPosition)

Indicates whether or not arrowheads are to be drawn at one or both ends of the line.

setArrowShape
auto setArrowShape(uint[3] arrowshape)

This option indicates how to draw arrowheads. The shape argument must be a list with three elements, each specifying a distance. The first element of the list gives the distance along the line from the neck of the arrowhead to its tip. The second element gives the distance along the line from the trailing points of the arrowhead to the tip, and the third element gives the distance from the outside edge of the line to the trailing points.

setCapStyle
auto setCapStyle(string capStyle)

Specifies the ways in which caps are to be drawn at the endpoints of the line. When arrowheads are drawn the cap style is ignored.

Meta