rect(cornerSize:style:)
A rectangular shape with rounded corners, aligned inside the frame of the view containing it.
Declaration
static func rect(cornerSize: CGSize, style: RoundedCornerStyle = .continuous) -> SelfA rectangular shape with rounded corners, aligned inside the frame of the view containing it.
static func rect(cornerSize: CGSize, style: RoundedCornerStyle = .continuous) -> Self