Namespace for the drawing canvas. Also a static class providing
enumerations and utility functions.
- Source:
Classes
- Cursor
- Drawing
- EventHandler
- Hoverable
- Layer
- LayerBackground
- LayerShape
- LayerShapeCreate
- LayerShapeModify
- LayerTool
- Modifiable
- Selectable
Members
-
(static) xrx.drawing.EventType :string
-
Enumeration of event types dispatched by the drawing canvas.
Type:
- string
- Source:
Properties:
Name Type Default Description VIEWBOX_CHANGEstring eventViewboxChange SHAPE_MODIFYstring eventShapeModify SHAPE_HOVER_INstring eventShapeHoverIn SHAPE_HOVER_MOVEstring eventShapeHoverMove SHAPE_HOVER_OUTstring eventShapeHoverOut SHAPE_BEFORE_DRAWstring eventShapeBeforeDraw -
(static) xrx.drawing.Mode :number
-
Enumeration for drawing modes.
Type:
- number
- Source:
Properties:
Name Type Default Description VIEWnumber 1 MODIFYnumber 2 DELETEnumber 3 CREATEnumber 4 DISABLEDnumber 5 SELECTnumber 6 HOVERnumber 7 HOVERMULTIPLEnumber 8 -
(private, static) xrx.drawing.Orientation :string
-
Enumeration of orientations, used by the drawing view-box.
Type:
- string
- Source:
Properties:
Name Type Default Description Cstring C NEstring NE SEstring SE SWstring SW NWstring NW -
(private, static) xrx.drawing.Position :string
-
Enumerations of positions used by the drawing view-box.
Type:
- string
- Source:
Properties:
Name Type Default Description NEstring NE SEstring SE SWstring SW NWstring NW -
(private, static) xrx.drawing.State
-
Enumeration for drawing states.
- Source:
Properties:
Name Type Default Description DRAG1 NONE2