mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
896 B
24 lines
896 B
// <copyright file="RecolorBrush.cs" company="James Jackson-South">
|
|
// Copyright (c) James Jackson-South and contributors.
|
|
// Licensed under the Apache License, Version 2.0.
|
|
// </copyright>
|
|
|
|
namespace ImageSharp.Drawing.Brushes
|
|
{
|
|
/// <summary>
|
|
/// Provides an implementation of a recolor brush for painting color changes.
|
|
/// </summary>
|
|
public class RecolorBrush : RecolorBrush<Color>
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="RecolorBrush" /> class.
|
|
/// </summary>
|
|
/// <param name="sourceColor">Color of the source.</param>
|
|
/// <param name="targetColor">Color of the target.</param>
|
|
/// <param name="threshold">The threshold.</param>
|
|
public RecolorBrush(Color sourceColor, Color targetColor, float threshold)
|
|
: base(sourceColor, targetColor, threshold)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|