Files
dinlo 436a9631fc Initial commit
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-31 18:44:04 +08:00

14 lines
543 B
TypeScript

/**
* Represents the raw-graphic icon item, such as PNG data.
*/
export default class RawIconItem {
width: number;
height: number;
bitCount: number;
bin: ArrayBuffer;
constructor(bin: ArrayBuffer | ArrayBufferView, width: number, height: number, bitCount: number, byteOffset?: number, byteLength?: number);
static from(bin: ArrayBuffer | ArrayBufferView, width: number, height: number, bitCount: number, byteOffset?: number, byteLength?: number): RawIconItem;
isIcon(): false;
isRaw(): this is RawIconItem;
}