Defines how Rive animations should be fitted within their container. This enum provides a unified API across Android and iOS platforms.
Scale the animation to fill the entire container, potentially cropping content.
Scale the animation to fit within the container, maintaining aspect ratio. This ensures the entire animation is visible within the bounds.
Scale the animation to cover the entire container, maintaining aspect ratio. This may crop parts of the animation to fill the container.
Scale the animation to fit the width of the container.
Scale the animation to fit the height of the container.
Do not scale the animation, use its original size.
Returns a representation of an immutable list of all enum entries, in the order they're declared.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.