Skip to content
pixi-silk
GitHub repository
Type

Vec2

import type { Vec2 } from 'pixi-silk';
type Vec2 = [number, number];

A point [x, y]. In shape units, x and y are fractions of the painted shape’s box.