(private) new xrx.shape.CircleCreatable(circle)
A class representing a creatable circle shape.
Parameters:
Name | Type | Description |
---|---|---|
circle |
xrx.shape.Circle | The target circle to be created. |
Members
-
xrx.shape.CircleCreatable#point_ :Array.<number>
-
Center point helper.
Type:
- Array.<number>
Methods
-
(private) xrx.shape.CircleCreatable#disposeInternal()
-
Disposes this creatable circle shape.
-
(private) xrx.shape.CircleCreatable#getCoords()
-
Returns the coordinates of the circle currently created.
Returns:
ArrayThe coordinates. -
(private) xrx.shape.CircleCreatable#handleDown(e, cursor)
-
Handles down gestures.
Parameters:
Name Type Description e
goog.events.BrowserEvent The browser event. cursor
xrx.drawing.Cursor The drawing cursor. -
(private) xrx.shape.CircleCreatable#handleMove(e, cursor)
-
Handles move gestures.
Parameters:
Name Type Description e
goog.events.BrowserEvent The browser event. cursor
xrx.drawing.Cursor The drawing cursor. -
(private) xrx.shape.CircleCreatable#handleUp(e, cursor)
-
Handles up gestures.
Parameters:
Name Type Description e
goog.events.BrowserEvent The browser event. cursor
xrx.drawing.Cursor The drawing cursor.