Package 

Class ImageAsset

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    
    public final class ImageAsset
    extends Asset<ImageHandle>
                        

    An image asset, representing a renderable bitmap, managed by a RiveWorker.

    • Nested Class Summary

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

      Fields 
      Modifier and Type Field Description
      private final ImageHandle handle
    • Method Summary

      Modifier and Type Method Description
      final ImageHandle getHandle()
      • Methods inherited from class app.rive.ImageAsset

        register, unregister
      • Methods inherited from class app.rive.Asset

        close
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImageAsset

        ImageAsset(ImageHandle handle, CommandQueue worker)
        Parameters:
        handle - The handle to the image on the command server.
        worker - The Rive worker that owns the image.