4 references to SetBlendTriangularShape
System.Drawing.Common (1)
System\Drawing\Drawing2D\PathGradientBrush.cs (1)
253
public void SetBlendTriangularShape(float focus) =>
SetBlendTriangularShape
(focus, (float)1.0);
System.Drawing.Common.Tests (3)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (3)
503
AssertExtensions.Throws<ArgumentException>(null, () => brush.
SetBlendTriangularShape
(1f, 1f));
513
AssertExtensions.Throws<ArgumentException>(null, null, () => brush.
SetBlendTriangularShape
(focus, 1f));
522
AssertExtensions.Throws<ArgumentException>(null, null, () => brush.
SetBlendTriangularShape
(1f, scale));