13 references to Brush
System.Drawing.Common (4)
System\Drawing\Imaging\ImageAttributes.cs (4)
427
public void SetBrushRemapTable(params ColorMap[] map) => SetRemapTable(map, ColorAdjustType.
Brush
);
431
public void SetBrushRemapTable(params ReadOnlySpan<ColorMap> map) => SetRemapTable(ColorAdjustType.
Brush
, map);
434
public void SetBrushRemapTable(params ReadOnlySpan<(Color OldColor, Color NewColor)> map) => SetRemapTable(ColorAdjustType.
Brush
, map);
437
public void ClearBrushRemapTable() => ClearRemapTable(ColorAdjustType.
Brush
);
System.Drawing.Common.Tests (9)
System\Drawing\Imaging\ImageAttributesTests.cs (9)
194
yield return new object[] { ColorAdjustType.
Brush
};
290
yield return new object[] { ColorAdjustType.
Brush
};
409
yield return new object[] { ColorMatrixFlag.Default, ColorAdjustType.
Brush
, Color.FromArgb(255, 100, 100, 100) };
410
yield return new object[] { ColorMatrixFlag.SkipGrays, ColorAdjustType.
Brush
, Color.FromArgb(255, 100, 100, 100) };
411
yield return new object[] { ColorMatrixFlag.AltGrays, ColorAdjustType.
Brush
, Color.FromArgb(255, 100, 100, 100) };
943
yield return new object[] { ColorChannelFlag.ColorChannelC, ColorAdjustType.
Brush
, Color.FromArgb(255, 100, 100, 100) };
944
yield return new object[] { ColorChannelFlag.ColorChannelK, ColorAdjustType.
Brush
, Color.FromArgb(255, 100, 100, 100) };
945
yield return new object[] { ColorChannelFlag.ColorChannelM, ColorAdjustType.
Brush
, Color.FromArgb(255, 100, 100, 100) };
946
yield return new object[] { ColorChannelFlag.ColorChannelY, ColorAdjustType.
Brush
, Color.FromArgb(255, 100, 100, 100) };