Namespace: xrx.drawing

xrx. drawing

Namespace for the drawing canvas. Also a static class providing enumerations and utility functions.
Source:

Classes

Drawing

Members

(static) xrx.drawing.EventType :string

Enumeration of event types dispatched by the drawing canvas.
Type:
  • string
Properties:
Name Type Default Description
VIEWBOX_CHANGE string eventViewboxChange
SHAPE_MODIFY string eventShapeModify
SHAPE_HOVER_IN string eventShapeHoverIn
SHAPE_HOVER_MOVE string eventShapeHoverMove
SHAPE_HOVER_OUT string eventShapeHoverOut
SHAPE_BEFORE_DRAW string eventShapeBeforeDraw
Source:

(static) xrx.drawing.Mode :number

Enumeration for drawing modes.
Type:
  • number
Properties:
Name Type Default Description
VIEW number 1
MODIFY number 2
DELETE number 3
CREATE number 4
DISABLED number 5
SELECT number 6
HOVER number 7
HOVERMULTIPLE number 8
Source: