(private) new xrx.shape.PolylineCreatable(poly-line)
A class representing a creatable poly-line shape.
Parameters:
Name | Type | Description |
---|---|---|
poly-line |
xrx.shape.Polyline | The parent poly-line shape. |
Members
-
(private) xrx.shape.PolylineCreatable#close_ :xrx.shape.Dragger
-
The last point created by the user, which closes the poly-line when clicked.
Type:
-
(private) xrx.shape.PolylineCreatable#count_ :number
-
Number of points the user has created so far.
Type:
- number
Methods
-
xrx.shape.PolylineCreatable#disposeInternal()
-
Disposes this creatable poly-line shape.
-
(private) xrx.shape.PolylineCreatable#getCoords()
-
Returns the coordinates of the poly-line created so far.
Returns:
ArrayThe coordinates. -
(private) xrx.shape.PolylineCreatable#handleDown()
-
(private) xrx.shape.PolylineCreatable#handleMove()
-
(private) xrx.shape.PolylineCreatable#handleUp()