# RoundedRectangle+

[swift](../../swift)⟩ [custom](..) ⟩ [extension]() ⟩ RoundedRectangle+

{% tabs %}
{% tab title="💾 程式" %}
```swift
extension RoundedRectangle {
    // 🌀RoundedRectangle()
    public init() {
        self.init(cornerRadius: 16)
    }
}
```
{% endtab %}

{% tab title="📘 手冊" %}
* [SwiftUI](https://developer.apple.com/documentation/swiftui)  ⟩  [Drawing & Animation](https://developer.apple.com/documentation/swiftui/drawing-and-animation)  ⟩  [RoundedRectangle](https://developer.apple.com/documentation/swiftui/roundedrectangle)&#x20;
{% endtab %}
{% endtabs %}
