public sealed class ZplLabelDiff
Pixel comparison of one label (A = before, B = after).
Constructors
| Signature | Description |
# ZplLabelDiff() | |
Properties
| Property | Type | Description |
AddedPixels { get; init; } | int | Ink only in B (drawn green in the overlay). |
ChangedPixels { get; } | int | |
Height { get; init; } | int | |
Identical { get; } | bool | |
Index { get; init; } | int | 0-based label index. |
MissingInA { get; init; } | bool | The label exists only in B (A has fewer labels). |
MissingInB { get; init; } | bool | The label exists only in A. |
OverlayPng { get; init; } | byte[] | Overlay PNG: white background, grey = unchanged, red = removed, green = added (null when not requested). |
Regions { get; init; } | IReadOnlyList<ZplDiffRegion> | Changed areas, largest first (at most ZplDiffOptions.MaxRegions). |
RemovedPixels { get; init; } | int | Ink only in A (drawn red in the overlay). |
UnchangedPixels { get; init; } | int | Ink in both (drawn grey in the overlay). |
Width { get; init; } | int | |