Corner styles will be concentric with its container, varying the radius
as needed in all four corners but never going below zero, or the
provided minimum corner style, if provided.
get · iOS 26.0+
concentric
TypeScript
static get concentric(): RoundedRectangularShapeCorners
Swift declaration
static var concentric: RoundedRectangularShapeCorners { get }
Corner styles will be concentric with its container, varying the radius
as needed in all four corners.
Create corner styles with per-corner styles.
- Parameters:
- topLeading: Top leading corner style.
- bottomLeading: Bottom leading corner style.
- topTrailing: Top trailing corner style.
- bottomTrailing: Bottom trailing corner style.
get · iOS 26.0+
topLeading
TypeScript
get topLeading(): Edge_Corner_Style
Swift declaration
var topLeading: Edge.Corner.Style
The top leading corner style.
set · iOS 26.0+
topLeading
TypeScript
set topLeading(value: Edge_Corner_Style)
Swift declaration
var topLeading: Edge.Corner.Style
The top leading corner style.
get · iOS 26.0+
topTrailing
TypeScript
get topTrailing(): Edge_Corner_Style
Swift declaration
var topTrailing: Edge.Corner.Style
The top trailing corner style.
set · iOS 26.0+
topTrailing
TypeScript
set topTrailing(value: Edge_Corner_Style)
Swift declaration
var topTrailing: Edge.Corner.Style
The top trailing corner style.
get · iOS 26.0+
bottomLeading
TypeScript
get bottomLeading(): Edge_Corner_Style
Swift declaration
var bottomLeading: Edge.Corner.Style
The bottom leading corner style.
set · iOS 26.0+
bottomLeading
TypeScript
set bottomLeading(value: Edge_Corner_Style)
Swift declaration
var bottomLeading: Edge.Corner.Style
The bottom leading corner style.
get · iOS 26.0+
animatableData
TypeScript
get animatableData(): RoundedRectangularShapeCorners_AnimatableData
Swift declaration
var animatableData: RoundedRectangularShapeCorners.AnimatableData { get set }
The data to animate.
SwiftUI reads this property to capture the current vector
representation of the animatable state, and writes it back
on each animation frame with an interpolated value. The
default implementation returns ``EmptyAnimatableData``,
meaning nothing is animated.
Use the ``Animatable()`` macro to synthesize this
property automatically. Implement it by hand only when
you need custom interpolation logic such as clamping,
normalization, or mapping to a derived value.
set · iOS 26.0+
animatableData
TypeScript
set animatableData(value: RoundedRectangularShapeCorners_AnimatableData)
Swift declaration
var animatableData: RoundedRectangularShapeCorners.AnimatableData { get set }
The data to animate.
SwiftUI reads this property to capture the current vector
representation of the animatable state, and writes it back
on each animation frame with an interpolated value. The
default implementation returns ``EmptyAnimatableData``,
meaning nothing is animated.
Use the ``Animatable()`` macro to synthesize this
property automatically. Implement it by hand only when
you need custom interpolation logic such as clamping,
normalization, or mapping to a derived value.