Class SKPixelComparerOptions
Options for configuring pixel-by-pixel image comparison behavior.
public class SKPixelComparerOptions
- Inheritance
-
SKPixelComparerOptions
- Inherited Members
Constructors
Properties
- CompareAlpha
Gets or sets whether the alpha channel is included in the comparison. When
true, alpha differences contribute to error metrics and pixel error detection. Whenfalse, only RGB channels are compared. Default isfalse.
- TolerancePerChannel
Gets or sets whether tolerance is applied independently to each color channel. When
true, each channel (R, G, B) is checked separately against the tolerance value or mask channel value. Whenfalse, the sum of per-channel differences is checked against the tolerance (or sum of mask channel values). Default istrue.