Add missing properties.
This commit is contained in:
parent
b841dbe6c2
commit
1a52f17990
@ -14,18 +14,21 @@ namespace Dashboard.Drawing
|
||||
{
|
||||
}
|
||||
|
||||
public readonly struct SolidBrush(Color Color) : IBrush
|
||||
public readonly struct SolidBrush(Color color) : IBrush
|
||||
{
|
||||
public IDrawExtension Kind { get; } = SolidBrushExtension.Instance;
|
||||
public Color Color { get; } = color;
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return HashCode.Combine(Kind, Color);
|
||||
}
|
||||
}
|
||||
|
||||
public readonly struct GradientBrush(Gradient Gradient) : IBrush
|
||||
public readonly struct GradientBrush(Gradient gradient) : IBrush
|
||||
{
|
||||
public IDrawExtension Kind { get; } = GradientBrushExtension.Instance;
|
||||
public Gradient Gradient { get; } = gradient;
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user