Preparing search index...
The search index is not available
@niuee/board
@niuee/board
drawRuler
Function drawRuler
drawRuler
(
context
:
CanvasRenderingContext2D
,
topLeftCorner
:
Point
,
topRightCorner
:
Point
,
bottomLeftCorner
:
Point
,
bottomRightCorner
:
Point
,
alignCoordinateSystem
:
boolean
,
cameraZoomLevel
:
number
,
)
:
void
Draws a ruler on the canvas. argument points are in world space
Parameters
context
:
CanvasRenderingContext2D
topLeftCorner
:
Point
topRightCorner
:
Point
bottomLeftCorner
:
Point
bottomRightCorner
:
Point
alignCoordinateSystem
:
boolean
cameraZoomLevel
:
number
Returns
void
Deprecated
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@niuee/board
Loading...
Draws a ruler on the canvas. argument points are in world space