Preparing search index...
The search index is not available
@niuee/board
@niuee/board
drawCrossHair
Function drawCrossHair
drawCrossHair
(
context
:
CanvasRenderingContext2D
,
pos
:
Point
,
cameraZoomLevel
:
number
,
alignCoordinateSystem
:
boolean
,
size
:
number
,
color
?:
string
,
)
:
void
Draws a crosshair on the canvas.
Parameters
context
:
CanvasRenderingContext2D
pos
:
Point
cameraZoomLevel
:
number
alignCoordinateSystem
:
boolean
size
:
number
color
:
string
= "red"
Returns
void
Deprecated
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@niuee/board
Loading...
Draws a crosshair on the canvas.