One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

RoundedRectangularShape

protocol · iOS 26.0+ · SDK 27.1

protocol RoundedRectangularShape : InsettableShape

A protocol of ``InsettableShape`` that describes a rounded rectangular shape. Conform your ``InsettableShape`` type to ``RoundedRectangularShape`` when your shape is a rounded rectangular with four corners and you want to expose information about the corners. For example, a custom triangle ``Shape`` is not fit for such conformance, while a custom rectangle ``Shape`` could benefit from providing the implementation, especially when the shape is used as a container shape in ``View/containerShape(_:)-(RoundedRectangularShape)`` to achieve concentricity. System shapes like ``Rectangle``, ``RoundedRectangle``, ``UnevenRoundedRectangle``, ``Capsule``, and ``Circle`` already provide default implementation for this protocol.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUICore types →