Skip to content
pixi-silk
GitHub repository
Type

PointsInput

import type { PointsInput } from 'pixi-silk';
type PointsInput = number[] | Float32Array | Float64Array | PointData[];

Points as a flat [x0, y0, x1, y1, ...] array, a typed array, or an array of { x, y } objects.