Contents

strokeBorder(_:style:antialiased:)

Returns a view that’s the result of insetting this view by half of its style’s line width.

Declaration

nonisolated func strokeBorder<S>(_ content: S = .foreground, style: StrokeStyle, antialiased: Bool = true) -> StrokeBorderShapeView<Self.Content, S, Self> where S : ShapeStyle

Discussion

This method strokes the resulting shape with style and fills it with content.

See Also

Modify the shape