segmentedControl constant
IndicatorLensOptics
const segmentedControl
The measured native UISegmentedControl lens (the default for
GlassSegmentedControl).
Read from a live iOS 27.0 UISegmentedControl (132 × 44 pt lifted
_UILiquidLensViewLargeVariantSpec): UIKit keeps the same content warp
(-17.5 / 11.2 pt), backdrop warp (+9.0 / 36.0 pt), and 0.5
ovalization as UITabBar, while scaling the outer ClearGlassView
chromatic rim band proportionally to the shallower 44 pt capsule height
(aberration: 1.7, aberrationBand: 8.8, i.e. 44 / 70 of UITabBar)
so colour fringes hug the rim without bleeding into centred text labels.
Implementation
static const IndicatorLensOptics segmentedControl = IndicatorLensOptics(
aberration: 1.7,
aberrationBand: 8.8,
);