toFlat
import { toFlat } from 'pixi-silk';
function toFlat(points: PointsInput): number[];
Copies any PointsInput into a new flat [x0, y0, x1, y1, ...] array.
Parameters#
| Parameter | Type |
|---|---|
points | PointsInput |
Returns#
number[]
import { toFlat } from 'pixi-silk';
function toFlat(points: PointsInput): number[];
Copies any PointsInput into a new flat [x0, y0, x1, y1, ...] array.
| Parameter | Type |
|---|---|
points | PointsInput |
number[]