Class: xrx.shape.CircleCreatable

xrx.shape. CircleCreatable

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

Members

xrx.shape.CircleCreatable#point_ :Array.<number>

Center point helper.
Type:
  • Array.<number>
Source:

Methods

(private) xrx.shape.CircleCreatable#disposeInternal()

Disposes this creatable circle shape.
Source:

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

Returns the coordinates of the circle currently created.
Source:
Returns:
Array The 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.
Source:

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

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