csharp
public readonly record struct ImageComparisonWhat comparing two pictures found.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (7)
public bool MatchesWhether they are within tolerance.
public int DifferingPixelsHow many pixels exceeded the channel tolerance.
public int TotalPixelsHow many there are.
public int WorstChannelThe largest single-channel difference anywhere.
public int WorstXWhere that was.
public int WorstYDitto.
public double FractionWhat fraction of pixels differed.
Methods (2)
public ImageComparison(bool Matches, int DifferingPixels, int TotalPixels, int WorstChannel, int WorstX, int WorstY)What comparing two pictures found.
public override string ToString()How this reads in a failure message.
Used by (3)
- ImageComparerVixen.Ui.Testing
- RasterizerTestsVixen.Ui.Testing.Tests
- VisualBaselineVixen.Ui.Testing