Type alias FrameType

FrameType: {
    frame: {
        h: number;
        w: number;
        x: number;
        y: number;
    };
    rotated: boolean;
    sourceSize: {
        h: number;
        w: number;
    };
    spriteSourceSize: {
        h: number;
        w: number;
        x: number;
        y: number;
    };
    trimmed: boolean;
}

Type declaration

  • frame: {
        h: number;
        w: number;
        x: number;
        y: number;
    }
    • h: number
    • w: number
    • x: number
    • y: number
  • rotated: boolean
  • sourceSize: {
        h: number;
        w: number;
    }
    • h: number
    • w: number
  • spriteSourceSize: {
        h: number;
        w: number;
        x: number;
        y: number;
    }
    • h: number
    • w: number
    • x: number
    • y: number
  • trimmed: boolean