(private) new xrx.shape.Dragger(shape, pos)
A class representing a dragger to modify the size or the vertexes
of a shape.
Parameters:
Name | Type | Description |
---|---|---|
shape |
xrx.shape.Modifiable | The parent modifiable shape. |
pos |
number | The nth dragger of a shape. |
Members
-
(private) xrx.shape.Dragger#modifiable_ :xrx.shape.Modifiable
-
The parent modifiable shape.
Type:
-
(private) xrx.shape.Dragger#pos_ :number
-
The nth dragger of a shape.
Type:
- number
Methods
-
xrx.shape.Dragger#disposeInternal()
-
Disposes this dragger.
-
(private) xrx.shape.Dragger#getPosition() → {number}
-
Returns the position n of the vertex dragging element in the list of dragging elements.
Returns:
The position.- Type
- number
-
(private) xrx.shape.Dragger#getRadius()
-
(private) xrx.shape.Dragger#init_()
-
(private) xrx.shape.Dragger#setCoord()