Function: getCursorOffset
▸ getCursorOffset(rotation
): 0
| 1
| 2
| 3
| 5
| 6
| 7
When the item is rotated, we need to change the cursor so that it makes the most sense based on the orientation of the item. These offsets are effective breakpoints at every 1/8 of a full rotation.
Parameters
Name | Type |
---|---|
rotation | number |
Returns
0
| 1
| 2
| 3
| 5
| 6
| 7