AlphaReport class

How transparency was handled — absent for opaque inputs and under alphaBackground: "none" (the report then carries no block at all).

Constructors

AlphaReport(double coverage, int contentLuma, AlphaMode mode, String background, bool fallbackUsed, AlphaEnvelope? envelope)
const
AlphaReport.fromJson(Map<String, dynamic> j)
factory

Properties

background → String
"white" · "black" · "#rrggbb".
final
contentLuma → int
Alpha-weighted mean BT.601 luma of the visible content.
final
coverage → double
Fraction of pixels with alpha < 255, rounded to 3 decimals.
final
envelope → AlphaEnvelope?
Full profile only; null when skipped, cut by the budget (trace.budgetExhausted == true), or when no probe class reads the design.
final
fallbackUsed → bool
The opposite background rescued a zero-detection scan (auto only).
final
hashCode → int
The hash code for this object.
no setterinherited
mode → AlphaMode
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited