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