Shape
public extension Shape
-
Applies a themed stroke (border) to the current view.
Declaration
Swift
@ViewBuilder func fill( _ color: ColorToken ) -> some ViewParameters
widthA
StrokeTokenrepresenting the stroke width from the theme.radiusA
RadiusTokenrepresenting the corner radius. Default is.md.colorA
ColorTokenfor stroke color. Default is.primary.