EdgeInsets
public extension EdgeInsets
-
A constructor where the edges for vertical are equal and those for horizontal also.
Declaration
Swift
init(horizontal: CGFloat, vertical: CGFloat)Parameters
horizontalThe leading and trailing insets.
verticalThe top and bottom insets.
-
An edge insets with a value of zero for all edges.
Declaration
Swift
static let zero: EdgeInsets
View on GitHub