dispersion property

double dispersion
final

Red/blue split as a fraction of the lens displacement, weighted by the lens profile (so it sits on the outer pixels). SwiftUI shows none. Negative splits red from green and blue together (iOS's tab lens), so a blue tint fringes in shades of blue rather than green.

Implementation

final double dispersion;