Show:

GLOBAL_CONSTANTS Class

Defined in: src\constants.js:26
Module: Util

Global constants used by the framework

Properties

CGSG_DEFAULT_DBLTOUCH_DELAY Number

Default value for the double touch detection. This property is the delay between 2 touches to be considered as a dbl touch event.

Default: 250

CGSG_DEFAULT_DISPLAYRATIO CGSGScale

Defined in src\constants.js:43

Default ratio value for the display

Default: CGSGScale(1.0, 1.0)

CGSG_DEFAULT_DRAG_SELECT_ALPHA Number

Defined in src\constants.js:67

Default alpha value for the drag selection rectangle

Default: 0.6

CGSG_DEFAULT_DRAG_SELECT_STROKE_COLOR String

Defined in src\constants.js:59

Default stroke color for the drag selection rectangle

Default: "#808080"

CGSG_DEFAULT_FRAMERATE_DELAY Number

Default number of frames to average the FPS

Default: 30 (ie: each 30 frames)

CGSG_DEFAULT_MAX_FRAMERATE Number

Default maximum number of frames per second.

Default: NaN

CGSG_DEFAULT_SELECTED_RESIZEHANDLE_COLOR String

Defined in src\constants.js:96

Default size for the resize handles at the corners of a selected node

Default: "#9068FF"

CGSG_DEFAULT_SELECTED_RESIZEHANDLE_SIZE Number

Defined in src\constants.js:89

Default size for the resize handles at the corners of a selected node

Default: 6

CGSG_DEFAULT_SELECTED_RESIZEHANDLE_THRESHOLD Number

Default threshold to detect the handle boxes on a resizable node

Default: 3

CGSG_DEFAULT_SELECTED_STROKE_COLOR String

Defined in src\constants.js:75

Default color for the selection stroke

Default: "#FF6890"

CGSG_DEFAULT_SELECTED_STROKE_COLOR String

Defined in src\constants.js:51

Default fill color for the drag selection selection rectangle

Default: "#C0C0C0"

CGSG_DEFAULT_SELECTED_STROKE_SIZE Number

Defined in src\constants.js:82

Default size for the selection stroke

Default: 2