SwiftUI React Nativev6.3.3
  • Values
  • Runtime

Getting started

  • Introduction
  • Installation
  • Quick start

Concepts

  • Reading the reference
  • Composing modifiers
  • Values
  • State and data flow

About

  • What it is
  • Why SwiftUI
  • History

Under the hood

  • How it renders
  • How it's generated
  • Principles
ValuesLayout

RectangleCornerInsets

The inset sizes for the corners of a rectangle.

StructureiOS 26.0+macOS 26.0+tvOS 26.0+watchOS 26.0+visionOS 26.0+RectangleCornerInsets in SwiftUI

Declaration#

React
type RectangleCornerInsets = { bottomLeading?: CGSize; bottomTrailing?: CGSize; topLeading?: CGSize; topTrailing?: CGSize; } | { topLeading: CGSize; topTrailing: CGSize; bottomLeading: CGSize; bottomTrailing: CGSize; };
Swift
@frozen struct RectangleCornerInsets

See also#

More in Layout.

  • AlignmentAn alignment in both axes.
  • ContainerBackgroundPlacementThe placement of a container background.
  • ContainerValuesReadableKeys of SwiftUI ContainerValues JavaScript can read.
  • ContainerValuesWritableKeys of SwiftUI ContainerValues JavaScript can write.
  • ControlSizeThe size classes, like regular or small, that you can apply to controls within a view.
  • DocumentLaunchGeometryProxyA proxy for access to the frame of the scene and its title view.
  • DynamicTypeSizeA Dynamic Type size, which specifies how large scalable content should be.
  • EdgeAn enumeration to indicate one edge of a rectangle.
  • EdgeInsetsThe inset distances for the sides of a rectangle.
  • EdgeInsetsChainEdgeInsets with chained calls: SwiftUI.EdgeInsets.inset(...).
  • EdgeSetAn efficient set of edges.
  • GeometryProxyA proxy for access to the size and coordinate space (for anchor resolution) of the container view.

On this page

0%
  • Declaration
  • See also
Report an issue