@ue-too/board / index / drawRulerLegacy
関数: drawRulerLegacy()
drawRulerLegacy(
context,topLeftCorner,topRightCorner,bottomLeftCorner,bottomRightCorner,alignCoordinateSystem,cameraZoomLevel):void
定義: packages/board/src/utils/drawing-utils.ts:232
パラメータ
context
CanvasRenderingContext2D
topLeftCorner
Point
topRightCorner
Point
bottomLeftCorner
Point
bottomRightCorner
Point
alignCoordinateSystem
boolean
cameraZoomLevel
number
戻り値
void
Description
Draws a ruler on the canvas. argument points are in world space