API Docs for: v2.1.0
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

Defined in src\constants.js:83

Default number of frames to average the FPS. The current FPS will be the average of the "CGSG_DEFAULT_FRAMERATE_DELAY" frames.

Default: 20 (ie: each 20 frames)

CGSG_DEFAULT_MAX_FRAMERATE

Number

Defined in src\constants.js:92

Default maximum number of frames per second.

Default: NaN

CGSG_DEFAULT_SELECTED_RESIZEHANDLE_THRESHOLD

Number

Defined in src\constants.js:75

Default threshold to detect the handle boxes on a resizable node

Default: 3

CGSG_DEFAULT_SELECTED_STROKE_COLOR

String

Defined in src\constants.js:51

Default fill color for the drag selection selection rectangle

Default: "#C0C0C0"