Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISpritesheetFrameData

Represents the JSON data for a spritesheet atlas.

Hierarchy

  • ISpritesheetFrameData

Index

Properties

Optional anchor

anchor: IPointData

frame

frame: { h: number; w: number; x: number; y: number }

Type declaration

  • h: number
  • w: number
  • x: number
  • y: number

Optional rotated

rotated: boolean

Optional sourceSize

sourceSize: { h: number; w: number }

Type declaration

  • h: number
  • w: number

Optional spriteSourceSize

spriteSourceSize: { x: number; y: number }

Type declaration

  • x: number
  • y: number

Optional trimmed

trimmed: boolean

Generated using TypeDoc