RoundedCornerShape
public struct RoundedCornerShape : Shape
A shape with rounded corners.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a path describing the shape with rounded corners.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public func path(in rect: CGRect) -> PathParameters
rectThe rectangle in which to create the path.
Return Value
A path that describes the rounded corners shape.
TomTom SDK for iOS (0.66.0)
RoundedCornerShape