MCPcopy
hub / github.com/FreezingMoon/AncientBeast / TextureFrameInfo

Interface TextureFrameInfo

src/utility/bitmapUtils.ts:4–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import * as Phaser from 'phaser-ce';
3
4export interface TextureFrameInfo {
5 frame: { x: number; y: number; width: number; height: number };
6 source: CanvasImageSource;
7 width: number;
8 height: number;
9}
10
11/**
12 * Extract texture frame info from a sprite's texture.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected