-
public class Artboard.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static Artboard.CompanionINSTANCE
-
Method Summary
-
-
Method Detail
-
fromFile
final Artboard fromFile(RiveFile file, String artboardName)
Creates a new Artboard.
The lifetime of the artboard is managed by the caller. Make sure to call close when you are done with it to release its resources.
- Parameters:
file- The RiveFile to instantiate the artboard from.artboardName- The name of the artboard to load.
-
-
-
-