11 references to SetRemapTable
System.Drawing.Common (5)
System\Drawing\Imaging\ImageAttributes.cs (5)
317
/// <inheritdoc cref="
SetRemapTable
(ColorMap[], ColorAdjustType)"/>
318
public void SetRemapTable(params ColorMap[] map) =>
SetRemapTable
(map, ColorAdjustType.Default);
334
/// <inheritdoc cref="
SetRemapTable
(ColorMap[], ColorAdjustType)"/>
337
/// <inheritdoc cref="
SetRemapTable
(ColorMap[], ColorAdjustType)"/>
427
public void SetBrushRemapTable(params ColorMap[] map) =>
SetRemapTable
(map, ColorAdjustType.Brush);
System.Drawing.Common.Tests (6)
System\Drawing\Imaging\ImageAttributesTests.cs (6)
1187
imageAttr.
SetRemapTable
(_yellowToRedColorMap, type);
1200
imageAttr.
SetRemapTable
(_yellowToRedColorMap, type);
1213
AssertExtensions.Throws<ArgumentException>(null, () => imageAttr.
SetRemapTable
(_yellowToRedColorMap, ColorAdjustType.Default));
1221
AssertExtensions.ThrowsAny<ArgumentNullException, ArgumentException>(() => imageAttr.
SetRemapTable
(_yellowToRedColorMap, type));
1228
Assert.Throws<ArgumentNullException>(() => imageAttr.
SetRemapTable
(null, ColorAdjustType.Default));
1265
imageAttr.
SetRemapTable
(_yellowToRedColorMap, type);