Package 

Class Artboard

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    
    public final class Artboard
     implements AutoCloseable
                        

    An instantiated artboard from a RiveFile.

    Can be queried for state machine names, and used to create a RiveUI composable.

    Create an instance of this class using rememberArtboard or Artboard.fromFile. When using the latter, make sure to call close when you are done with the artboard to release its resources.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Artboard.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String name
    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final List<String> getStateMachineNames()
      • Methods inherited from class app.rive.Artboard

        close
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait