// Use with matrix transformations constmatrix=newMatrix(); matrix.translate(50, 50).apply(point);
// Mix with other point types constobservablePoint=newObservablePoint(() => {}, null, 0, 0); constregularPoint=newPoint(0, 0); // All are PointData compatible
Common interface for points. Both Point and ObservablePoint implement it. Provides a standard way to represent 2D coordinates.
Many PixiJS methods accept PointData for transformations, making it easy to work with different point types interchangeably.
Example
Remarks
See