Class: xrx.shape.PolylineCreatable

xrx.shape. PolylineCreatable

(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.
Source:

Members

(private) xrx.shape.PolylineCreatable#close_ :xrx.shape.Dragger

The last point created by the user, which closes the poly-line when clicked.
Type:
Source:

(private) xrx.shape.PolylineCreatable#count_ :number

Number of points the user has created so far.
Type:
  • number
Source:

Methods

xrx.shape.PolylineCreatable#disposeInternal()

Disposes this creatable poly-line shape.
Source:

(private) xrx.shape.PolylineCreatable#getCoords()

Returns the coordinates of the poly-line created so far.
Source:
Returns:
Array The coordinates.

(private) xrx.shape.PolylineCreatable#handleDown()

Source:

(private) xrx.shape.PolylineCreatable#handleMove()

Source:

(private) xrx.shape.PolylineCreatable#handleUp()

Source: