EdgeSet
An efficient set of edges.
Declaration
type EdgeSet =
| ('all'
| 'bottom'
| 'horizontal'
| 'leading'
| 'top'
| 'trailing'
| 'vertical'
| { rawValue: number; }
| Edge)
| readonly ('all'
| 'bottom'
| 'horizontal'
| 'leading'
| 'top'
| 'trailing'
| 'vertical'
| { rawValue: number; }
| Edge)[];@frozen struct SetPass a literal, or build one with SwiftUI.EdgeSet from import { SwiftUI } from 'swiftui-react-native'.
Used by
- backgroundSets the view's background to a style.
- containerCornerOffsetAdjusts the view's layout to avoid the container view's corner insets for the specified edges.
- contentMarginsConfigures the content margin for a provided placement.
- defersSystemGesturesSets the screen edge from which you want your gesture to take precedence over the system gesture.
- ignoresSafeAreaExpands the safe area of a view.
- listRowInsetsSets the insets of rows in a list on the specified edges.
- listSectionMarginsSet the section margins for the specific edges.
- overlayLayers the specified style in front of this view.
- paddingAdds an equal padding amount to specific edges of this view.
- safeAreaPaddingAdds the provided insets into the safe area of this view.
- scenePaddingAdds padding to the specified edges of this view using an amount that's appropriate for the current scene.
- scrollEdgeEffectHiddenHides any scroll edge effects for scroll views within this hierarchy.
- scrollEdgeEffectStyleConfigures the scroll edge effect style for scroll views within this hierarchy.
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(...).
- GeometryProxyA proxy for access to the size and coordinate space (for anchor resolution) of the container view.
- GridItemA description of a row or a column in a lazy grid.