Declaration
compose().buttonBorderShape(shape: SwiftUI.ButtonBorderShape)nonisolated func buttonBorderShape(
_ shape: ButtonBorderShape
) -> some ViewParameters
The shape to use.
Discussion
The border shape is used to draw the platter for a bordered button.
The border shape affects buttons of the
PrimitiveButtonStyle.bordered and
PrimitiveButtonStyle.borderedProminent styles.
See also
More in Drawing and shapes.
- blendModeSets the blend mode for compositing this view with overlapping views.
- clipShapeSets a clipping shape for this view.
- containerShapeSets the container shape to use for any container relative shape within this view.
- contentShapeSets the content shape for this view.
- coordinateSpaceAssigns a name to the view's coordinate space, so other code can operate on dimensions like points and sizes relative to the named space.
- materialActiveAppearanceSets an explicit active appearance for materials in this view.
- textInputBorderShapeSets the border shape for text input controls in the view hierarchy.