Package 

Object Artboard.Companion

    • Method Summary

      Modifier and Type Method Description
      final Artboard fromFile(RiveFile file, String artboardName) Creates a new Artboard.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.