Skip to content

gcs2lcs

gcs2lcs(canvas, shape, point): number[]

Transform global coord to local coord (GCS —> LCS)

Parameters

canvas: Canvas

shape: Shape

point: number[]

Returns

number[]

Source

graphics/utils.ts:57