bodyShade property

double bodyShade
final

How far a bright backdrop is pulled down under the glass, 0 to 1.

The native dark material does not lift a backdrop the way its tint alone would: over mid-grey and above it reads darker than the backdrop, and a white page comes out at about 184/255. Each pixel is scaled by 1 - bodyShade * luma², so dark content is barely touched and white loses bodyShade of itself. 0.28 matches the dark material.

It takes the rimShade outline with it, which then sits its fixed step below the darkened backdrop: that is the dark outline the native control keeps over a white page.

Only affects the Premium (Impeller) path. Defaults to 0.0, off.

Implementation

final double bodyShade;