Skip to content

@ue-too/board / index / drawPositionText

関数: drawPositionText()

drawPositionText(context, pos, cameraZoomLevel, alignCoordinateSystem, offset, color): void

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

パラメータ

context

CanvasRenderingContext2D

pos

Point

cameraZoomLevel

number

alignCoordinateSystem

boolean

offset

number = 20

color

string = 'red'

戻り値

void

Description

Draws the position text on the canvas. argument points are in world space

Deprecated