SettingsGroupPosition

Vertical position of a grouped row within its parent DropletSettingsCard.

enum SettingsGroupPosition

Vertical position of a grouped row within its parent DropletSettingsCard. Determines which outer corners adopt the card's radius.

API contract carried over from Droppy's own settings rules: pass the position that reflects where the row actually sits. A picker with a divider and another row below it must be .middle, otherwise its selected segment renders rounded corners against a straight divider.

Cases

SettingsGroupPosition.only

case only

The single row in the card; rounds all four outer corners.

SettingsGroupPosition.top

case top

The first row; rounds the top corners only.

SettingsGroupPosition.bottom

case bottom

The last row; rounds the bottom corners only.

SettingsGroupPosition.middle

case middle

Rows above and below; no rounded outer corners.

Properties

outerCorners

var outerCorners: GroupedCorners { get }

The outer corners this position rounds.