@rive-app/canvas
Advanced tools
Comparing version 1.0.49 to 1.0.50
{ | ||
"name": "@rive-app/canvas", | ||
"version": "1.0.49", | ||
"version": "1.0.50", | ||
"description": "Rive's canvas based web api.", | ||
@@ -5,0 +5,0 @@ "main": "rive.js", |
@@ -102,11 +102,12 @@ interface RiveOptions { | ||
export declare class File { | ||
defaultArtboard(): Artboard; | ||
artboardByName(name: string): Artboard; | ||
artboardByIndex(index: number): Artboard; | ||
defaultArtboard(): Artboard; // rive::ArtboardInstance | ||
artboardByName(name: string): Artboard; // rive::ArtboardInstance | ||
artboardByIndex(index: number): Artboard; // rive::ArtboardInstance | ||
artboardCount(): number; | ||
} | ||
// This wraps rive::ArtboardInstance* | ||
export declare class Artboard { | ||
get name(): string; | ||
get bounds(): AABB; | ||
instance(): Artboard; | ||
// Deletes the backing wasm artboard instance | ||
@@ -113,0 +114,0 @@ delete(): void; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
468426
2613