-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
public final class FontAsset extends Asset<FontHandle>
A font asset, representing a renderable typeface, managed by a RiveWorker.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFontAsset.Companion
-
Field Summary
Fields Modifier and Type Field Description private final FontHandlehandle
-
Constructor Summary
Constructors Constructor Description FontAsset(FontHandle handle, CommandQueue worker)
-
Method Summary
Modifier and Type Method Description final FontHandlegetHandle()-
-
Constructor Detail
-
FontAsset
FontAsset(FontHandle handle, CommandQueue worker)
- Parameters:
handle- The handle to the font on the command server.worker- The Rive worker that owns the font.
-
-
Method Detail
-
getHandle
final FontHandle getHandle()
-
-
-
-