y2kPanelSamples function
What display text sits on: the opaque panel, the panel under its gloss
band and, on a chrome LCD, under the gloss with the glare streak
crossing it (the lightest the panel gets).
Implementation
List<int> y2kPanelSamples(int surface, {bool chrome = false}) {
final s = surface | 0xFF000000;
final gloss = compositeOver(withAlpha(0xFFFFFFFF, y2kPanelGlossAlpha(s)), s);
return [
s,
gloss,
if (chrome)
compositeOver(withAlpha(0xFFFFFFFF, y2kPanelGlareAlpha(s)), gloss),
];
}