namespace Rive.Components { /// /// Defines how the artboard should be scaled within the frame when using the Layout fit mode. /// public enum LayoutScalingMode { /// /// This mode will keep the artboard at a constant pixel size, regardless of screen resolution. This means that the artboard may appear larger or smaller depending on the screen resolution. /// ConstantPixelSize = 0, /// /// This mode will scale the artboard to maintain the same relative size as the original artboard dimensions across different resolutions. This means that the artboard will always appear the same size relative to the screen. /// ReferenceArtboardSize = 1, /// /// Maintains consistent physical size (in inches) across different devices by accounting for screen DPI. On higher DPI displays, content will appear larger to maintain consistent physical dimensions. /// ConstantPhysicalSize = 2, } }