FluidFinalFrameStyle
public struct FluidFinalFrameStyle : FluidFrameStyleCompatible
The final frame style that conforms to the FluidFrameStyleCompatible
protocol.
-
A
CGFloat
value that determines a frame alpha.Declaration
Swift
public internal(set) var alpha: CGFloat!
-
A
CGFloat
value that determines a corner radius.Declaration
Swift
public internal(set) var cornerRadius: CGFloat
-
A
FluidRoundCornerStyle
value that determines which corners should be rounded.Declaration
Swift
public internal(set) var cornerStyle: FluidRoundCornerStyle?
-
A
CGColor
value that determines a shadow color.Declaration
Swift
public internal(set) var shadowColor: CGColor
-
A
Float
value that determines a shadow opacity.Declaration
Swift
public internal(set) var shadowOpacity: CGFloat
-
A
CGFloat
value that determines a shadow radius.Declaration
Swift
public internal(set) var shadowRadius: CGFloat
-
A
CGSize
value that determines a shadow offset.Declaration
Swift
public internal(set) var shadowOffset: CGSize
-
A
Boolean
value that indicates whether a background of a view controller is transparent. If set true, a shadow mask will be subtracted its rect.Declaration
Swift
public internal(set) var isTransparentBackground: Bool
-
Undocumented
Declaration
Swift
public init(alpha: CGFloat? = nil, cornerRadius: CGFloat = 0.0, cornerStyle: FluidRoundCornerStyle? = .none, shadowColor: CGColor = UIColor.black.cgColor, shadowOpacity: CGFloat = 0.0, shadowRadius: CGFloat = 3.0, shadowOffset: CGSize = .zero)