SquirrelPosition

Used to reflect the x and y position of the component on the Squirrel canvas.

export class SquirrelPosition {
    x: number;
    y: number;

    constructor(x: number, y: number) {
        if (x != null) { this.x = x; }
        if (y != null) { this.y = y; }
    }
}

Last updated

Was this helpful?