namespace Rive
{
///
/// Fit determines how the Rive content will be fitted to the view.
///
public enum Fit : byte
{
///
/// Rive content will fill the available bounds.
///
/// If the aspect ratios differ, then the Rive
/// content will be stretched.
///
Fill = 0,
///
/// (Default) Rive content will be contained within the bounds,
/// preserving the aspect ratio.
///
/// If the ratios differ, then a portion of the bounds will
/// be unused.
///
Contain = 1,
///
/// Rive will cover the bounds, preserving the aspect ratio.
///
/// If the Rive content has a different ratio to the bounds,
/// then the Rive content will be clipped.
///
Cover = 2,
///
/// Rive content will fill to the width of the bounds.
///
/// This may result in clipping or unfilled bound space.
///
FitWidth = 3,
///
/// Rive content will fill to the height of the bounds.
///
/// This may result in clipping or unfilled bound space.
///
FitHeight = 4,
///
/// Rive content will render to the size of its artboard,
/// which may result in clipping or unfilled bound space.
///
None = 5,
///
/// Rive content is scaled down to the size of the bounds,
/// preserving the aspect ratio.
///
/// This is equivalent to Contain when the content is larger
/// than the bounds. If the bounds is larger, then ScaleDown
/// will not scale up.
///
ScaleDown = 6,
///
/// Rive content will be resized automatically based on layout constraints of the artboard.
///
Layout = 7
}
}