Home > @visualization-tools/core > SpriteProvider
Creates a hidden 2d canvas, useful for sprites etc.
Signature:
export declare class SpriteProvider
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(attachPoint) | Constructs a new instance of the SpriteProvider class |
| Method | Modifiers | Description |
|---|---|---|
| getCanvas() | ||
| getContext() | ||
| upscaleCanvas(width, height) |