SwiftUICore · IOS API REFERENCE
RectangleCornerInsets
struct · iOS 26.0+ · SDK 27.1
@frozen struct RectangleCornerInsets
The inset sizes for the corners of a rectangle.
Members (10)
init · iOS 26.0+init
TypeScriptstatic initTopLeadingTopTrailingBottomLeadingBottomTrailing(topLeading: { width: number; height: number }, topTrailing: { width: number; height: number }, bottomLeading: { width: number; height: number }, bottomTrailing: { width: number; height: number }): RectangleCornerInsets
Swift declarationinit(topLeading: CGSize, topTrailing: CGSize, bottomLeading: CGSize, bottomTrailing: CGSize)
get · iOS 26.0+topLeading
TypeScriptget topLeading(): { width: number; height: number }
Swift declarationvar topLeading: CGSize
The size of the top-leading corner inset.
set · iOS 26.0+topLeading
TypeScriptset topLeading(value: { width: number; height: number })
Swift declarationvar topLeading: CGSize
The size of the top-leading corner inset.
get · iOS 26.0+topTrailing
TypeScriptget topTrailing(): { width: number; height: number }
Swift declarationvar topTrailing: CGSize
The size of the top-trailing corner inset.
set · iOS 26.0+topTrailing
TypeScriptset topTrailing(value: { width: number; height: number })
Swift declarationvar topTrailing: CGSize
The size of the top-trailing corner inset.
get · iOS 26.0+bottomLeading
TypeScriptget bottomLeading(): { width: number; height: number }
Swift declarationvar bottomLeading: CGSize
The size of the bottom-leading corner inset.
set · iOS 26.0+bottomLeading
TypeScriptset bottomLeading(value: { width: number; height: number })
Swift declarationvar bottomLeading: CGSize
The size of the bottom-leading corner inset.
get · iOS 26.0+bottomTrailing
TypeScriptget bottomTrailing(): { width: number; height: number }
Swift declarationvar bottomTrailing: CGSize
The size of the bottom-trailing corner inset.
set · iOS 26.0+bottomTrailing
TypeScriptset bottomTrailing(value: { width: number; height: number })
Swift declarationvar bottomTrailing: CGSize
The size of the bottom-trailing corner inset.
init · iOS 26.0+init
TypeScriptstatic init(): RectangleCornerInsets
Swift declarationinit()
Skipped declarations
No declarations were skipped in this snapshot.
All SwiftUICore types →