Overlays.Arrow Class
Draws an arrow, using four points: the head and two tail points, and a foldback point, which permits the tail of the arrow to be indented.
Constructor
Overlays.Arrow
(
-
params
Parameters:
-
paramsObjectConstructor parameters
-
[width=20]Integer optionalWidth of the tail of the arrow
-
[length=20]Integer optionalDistance from the tail of the arrow to the head
-
[location=0.5]Float optionalWhere, either as a proportional value from 0 to 1 inclusive, or as an absolute value (negative values mean distance from target; positive values greater than 1 mean distance from source) the Arrow should appear on the Connector
-
[direction=1]Integer optionalWhich way to point. Allowed values are 1 (the default, meaning forwards) and -1, meaning backwards
-
[foldback=0.623]Float optionalHow far along the axis of the arrow the tail points foldback in to.
-
[paintStyle]Object optionalA style object in the form used for paintStyle values for Endpoints and Connectors.
-
