zplCore.comzplCore.com

ZplLabelDiff

public sealed class ZplLabelDiff

Pixel comparison of one label (A = before, B = after).

Constructors

SignatureDescription
# ZplLabelDiff()

Properties

PropertyTypeDescription
AddedPixels { get; init; }intInk only in B (drawn green in the overlay).
ChangedPixels { get; }int
Height { get; init; }int
Identical { get; }bool
Index { get; init; }int0-based label index.
MissingInA { get; init; }boolThe label exists only in B (A has fewer labels).
MissingInB { get; init; }boolThe 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; }intInk only in A (drawn red in the overlay).
UnchangedPixels { get; init; }intInk in both (drawn grey in the overlay).
Width { get; init; }int