ScaleType
public enum ScaleType : Int, CustomStringConvertible
Stream scale type.
-
Scales the stream so that its largest dimension spans the whole view and its smallest dimension is scaled to maintain the original aspect ratio. Padding is introduced, if any, rendered according to ‘renderingPaddingFill’ configuration.
Declaration
Swift
case fit
-
Scales the stream so that its smallest dimension spans the whole view and its largest dimension is scaled to maintain the original aspect ratio and cropped to the render zone. No padding is introduced.
Declaration
Swift
case crop
-
Debug description.
Declaration
Swift
public var description: String { get }