Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Resizetizer.NT/SkiaSharpTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,17 @@ public SkiaSharpTools(string filename, Size? baseSize, Color? tintColor, ILogger

Paint = new SKPaint
{
IsAntialias = true,
ColorFilter = SKColorFilter.CreateBlendMode(color, SKBlendMode.SrcIn)
};
}
else
{
Paint = new SKPaint
{
IsAntialias = true
};
}
}

public string Filename { get; }
Expand Down