@raducal/isomer
Version:
A simple isometric graphics library for HTML5 canvas
17 lines (16 loc) • 471 B
TypeScript
import { Drawable } from './isomer';
import { Path } from './path';
import { Shape } from './shape';
type Sources = Drawable | Drawable[];
declare class Textured {
private drawables;
private paths;
private scope;
constructor(paths?: Path[] | Shape, sources?: Sources);
updatePaths(paths: Path[] | Shape): void;
updateSources(sources: Sources): void;
private init;
getPaths(): Path[];
getDrawables(): Drawable[];
}
export { Textured };