SquirrelColor

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

export class SquirrelColor {
    color: string;
    alpha: number;

    constructor(color: string, alpha: number) {
        if (color != null) { this.color = color; }
        if (alpha != null) { this.alpha = alpha; }
    }
}

Last updated

Was this helpful?