Methods
Static alignToGrid
- alignToGrid(value: number, gridSize: number, aligningToGrid: boolean): number
-
Parameters
-
value: number
-
gridSize: number
-
aligningToGrid: boolean
Returns number
Static alignToMaxGrid
- alignToMaxGrid(value: number, gridSize: number, aligningToGrid: boolean): number
-
Parameters
-
value: number
-
gridSize: number
-
aligningToGrid: boolean
Returns number
Static alignToMinGrid
- alignToMinGrid(value: number, gridSize: number, aligningToGrid: boolean): number
-
Parameters
-
value: number
-
gridSize: number
-
aligningToGrid: boolean
Returns number