GLOBAL_CONSTANTS Class
Global constants used by the framework
Item Index
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
Default ratio value for the display
Default: CGSGScale(1.0, 1.0)
CGSG_DEFAULT_DRAG_SELECT_ALPHA
Number
Default alpha value for the drag selection rectangle
Default: 0.6
CGSG_DEFAULT_DRAG_SELECT_STROKE_COLOR
String
Default stroke color for the drag selection rectangle
Default: "#808080"
CGSG_DEFAULT_FRAMERATE_DELAY
Number
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_SELECTED_RESIZEHANDLE_THRESHOLD
Number
Default threshold to detect the handle boxes on a resizable node
Default: 3
CGSG_DEFAULT_SELECTED_STROKE_COLOR
String
Default fill color for the drag selection selection rectangle
Default: "#C0C0C0"