(private) new xrx.shape.Modifiable(shape)
An abstract class representing a modifiable shape.
Parameters:
Name | Type | Description |
---|---|---|
shape |
xrx.shape.Shape | The target shape to be modified. |
Members
-
(private) xrx.shape.Modifiable#dragger_ :Array.<xrx.shape.Dragger>
-
Draggers to modify this modifiable shape.
Type:
- Array.<xrx.shape.Dragger>
-
xrx.shape.Modifiable#move
-
Abstract function to be implemented by each modifiable shape.
-
xrx.shape.Modifiable#setCoordAt
-
Abstract function to be implemented by each modifiable shape.
-
xrx.shape.Modifiable#setCoords
-
Abstract function to be implemented by each modifiable shape.
-
(private) xrx.shape.Modifiable#shape_ :xrx.shape.Shape
-
The target shape to be modified.
Type:
-
(private) xrx.shape.Modifiable#store_ :xrx.shape.Style
-
Helper to restore the style when deselected.
Type:
Methods
-
xrx.shape.Modifiable#disposeInternal()
-
Disposes this modifiable helper shape.
-
xrx.shape.Modifiable#getDragger() → {Array.<xrx.shape.Dragger>}
-
Returns the dragger elements of this modifiable helper shape.
Returns:
The dragger elements.- Type
- Array.<xrx.shape.Dragger>
-
xrx.shape.Modifiable#getShape() → {xrx.shape.Shape}
-
Returns the target shape of this modifiable helper shape.
Returns:
The target shape.- Type
- xrx.shape.Shape
-
xrx.shape.Modifiable#selectOff()
-
De-selects this shape.
-
xrx.shape.Modifiable#selectOn()
-
Selects this shape.
-
xrx.shape.Modifiable#setDragger() → {xrx.shape.Shape}
-
Returns the target shape of this modifiable helper shape.
Returns:
The target shape.- Type
- xrx.shape.Shape