Skip to content

@ue-too/board / index / drawCrossHair

関数: drawCrossHair()

drawCrossHair(context, pos, cameraZoomLevel, alignCoordinateSystem, size, color): void

定義: packages/board/src/utils/drawing-utils.ts:18

パラメータ

context

CanvasRenderingContext2D

pos

Point

cameraZoomLevel

number

alignCoordinateSystem

boolean

size

number

color

string = 'red'

戻り値

void

Description

Draws a crosshair on the canvas.

Deprecated