Preparing search index...
The search index is not available
@niuee/board
@niuee/board
drawPositionText
Function drawPositionText
drawPositionText
(
context
:
CanvasRenderingContext2D
,
pos
:
Point
,
cameraZoomLevel
:
number
,
alignCoordinateSystem
:
boolean
,
offset
?:
number
,
color
?:
string
,
)
:
void
Draws the position text on the canvas. argument points are in world space
Parameters
context
:
CanvasRenderingContext2D
pos
:
Point
cameraZoomLevel
:
number
alignCoordinateSystem
:
boolean
offset
:
number
= 20
color
:
string
= "red"
Returns
void
Deprecated
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@niuee/board
Loading...
Draws the position text on the canvas. argument points are in world space