Package app.rive
See: Description
-
Object Summary Object Description Companion Companion Companion Companion Companion Fill Do not preserve aspect ratio and stretch to the containing view's dimensions. Loading Companion Companion NoOpLogger Implementation that logs nothing. RiveLog RiveLog allows configuring logging within Rive. Companion Companion -
Class Summary Class Description Artboard An instantiated artboard from a RiveFile. Asset Base class for assets managed by a RiveWorker. ImageAsset An image asset, representing a renderable bitmap, managed by a RiveWorker. AudioAsset An audio asset, representing a playable sound, managed by a RiveWorker. FontAsset A font asset, representing a renderable typeface, managed by a RiveWorker. RiveInitializationException Exceptions related to Rive failing to initialize properly. RiveShutdownException Exceptions related to Rive failing to shut down properly. RiveRenderException Exceptions related to Rive rendering. RiveFileException Exceptions related to Rive file handling. RiveDrawToBufferException Exceptions related to drawing to a buffer. Layout Invokes the Rive layout engine to apply responsive layout to the artboard. Contain Preserve aspect ratio and scale the artboard so that its larger dimension matches the corresponding dimension of the containing view. ScaleDown Preserve aspect ratio and behave like Fit.Contain when the artboard is larger than the containing view. Cover Preserve aspect ratio and scale the artboard so that its smaller dimension matches the corresponding dimension of the containing view. FitWidth Preserve aspect ratio and scale the artboard width to match the containing view's width. FitHeight Preserve aspect ratio and scale the artboard height to match the containing view's height. None Do not scale. Fit Describes how size differences are handled between an authored Rive artboard and its containing view. RenderBuffer Represents the pixels produced by rendering a frame off-screen. Error Success RiveFile A Rive file which contains one or more artboards, state machines, and view model instances. Bytes RawRes LogcatLogger Implementation that logs to Logcat with lazy msg()evaluation.RiveView Note: This class is more experimental than others. StateMachine An instantiated state machine from an Artboard. ViewModelInstance A view model instance for data binding which has properties that can be set and observed. Named A specific view model by name. DefaultForArtboard The default view model for the given artboard. Blank Create a new view model instance with default value initialized properties, e.g. Default Create a new view model instance with properties initialized to the values of the instance labelled "Default" in the Rive file. Named Create a new view model instance with properties initialized to the values of the instance with the given name. Reference Create a reference to an existing child view model instance. ReferenceListItem Create a reference to an existing child view model instance within a list at a given index. RememberRiveWorkerKt ArtboardKt AssetsKt RiveKt RiveFileKt StateMachineKt ViewModelInstanceKt -
Enum Summary Enum Description Alignment Alignment of the artboard within the containing view. RivePointerInputMode Controls how a Rive composable participates in Compose pointer input dispatch. -
Interface Summary Interface Description Result Represents the result of an operation - typically loading - that can be in a loading, error, or success state. RiveFileSource The source for a RiveFile. Logger Interface for logging. ViewModelSource One half of a source for a ViewModelInstance. ViewModelInstanceSource The second half of a source for a ViewModelInstance.