MaskType
public enum MaskType : Equatable
Property of supported mask types applied to the image view.
-
Ciruclar mask
Declaration
Swift
case circular -
Rounded corner mask.
Declaration
Swift
case roundedCorner(_: CGFloat?)Parameters
radiusOptional radius value for the rounded corner. If not set a 8.0 px radius will be applied.
-
Default retangular shape with no mask
Declaration
Swift
case none -
Declaration
Swift
public static func == (lhs: `Self`, rhs: `Self`) -> Bool