roundedRectangle
TypeScriptstatic get roundedRectangle(): TextInputBorderShapeSwift declarationstatic var roundedRectangle: TextInputBorderShape { get }A rounded rectangle shape.
struct · iOS 27.0+ · SDK 27.1
struct TextInputBorderShapeA shape used to draw the border of a text input control.
static get roundedRectangle(): TextInputBorderShapeSwift declarationstatic var roundedRectangle: TextInputBorderShape { get }A rounded rectangle shape.
path(rect: { x: number; y: number; width: number; height: number }): PathSwift declarationnonisolated func path(in rect: CGRect) -> PathDescribes this shape as a path within a rectangular frame of reference. - Parameter rect: The frame of reference for describing this shape. - Returns: A path that describes this shape.
static get capsule(): TextInputBorderShapeSwift declarationstatic var capsule: TextInputBorderShape { get }A capsule shape.
static get automatic(): TextInputBorderShapeSwift declarationstatic var automatic: TextInputBorderShape { get }A shape that defers to the system to determine an appropriate shape for the given context and platform.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
TextInputBorderShape.inset(by:)
This protocol needs associated types that cannot yet cross the bridge.