Home > steelseries-rose-gauge > Rose > (constructor)
Rose.(constructor)
Constructs a new instance of the Rose class
Signature:
constructor(canvas: HTMLCanvasElement | string, parameters?: RoseParams);
Parameters
| Parameter | Type | Description |
|---|---|---|
| canvas | HTMLCanvasElement | string | canvas element id, or canvas element itself |
| parameters | RoseParams | gauge construction pasrameters |