Class: xrx.shape.Dragger

xrx.shape. Dragger

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

Members

(private) xrx.shape.Dragger#modifiable_ :xrx.shape.Modifiable

The parent modifiable shape.
Type:
Source:

(private) xrx.shape.Dragger#pos_ :number

The nth dragger of a shape.
Type:
  • number
Source:

Methods

xrx.shape.Dragger#disposeInternal()

Disposes this dragger.
Source:

(private) xrx.shape.Dragger#getPosition() → {number}

Returns the position n of the vertex dragging element in the list of dragging elements.
Source:
Returns:
The position.
Type
number

(private) xrx.shape.Dragger#getRadius()

Source:

(private) xrx.shape.Dragger#init_()

Source:

(private) xrx.shape.Dragger#setCoord()

Source: