@robotical/scratch-to-python-transpiler
Version:
Transpile Scratch project files to python code
24 lines (23 loc) • 588 B
TypeScript
declare type CostumeDataFormat = "png" | "svg" | "jpeg" | "jpg" | "bmp" | "gif";
export default class Costume {
name: string;
id: string;
asset: any;
md5: string;
ext: CostumeDataFormat;
bitmapResolution: number;
centerX: number | null;
centerY: number | null;
constructor(options: {
name: string;
id?: string;
asset: any;
md5: string;
ext: CostumeDataFormat;
bitmapResolution: number;
centerX: number | null;
centerY: number | null;
});
setName(name: string): void;
}
export {};