Instance Method インスタンスメソッド

strokeBorder(lineWidth:antialiased:)

Returns a view that is the result of filling the width-sized border (aka inner stroke) of self with the foreground color. This is equivalent to insetting self by width / 2 and stroking the resulting shape with width as the line-width.

Declaration 宣言

func strokeBorder(lineWidth: CGFloat = 1, antialiased: Bool = true) -> some View