LinearGradientBrush.SetBlendTriangularShape

SetBlendTriangularShape(float)

Creates a linear gradient with a center color and a linear falloff to a single color on both ends.

public void SetBlendTriangularShape(float focus)
ParameterTypeDescription
focusSingleA value from 0 through 1 that specifies the center of the gradient (the point where the gradient is composed of only the ending color).

See Also


SetBlendTriangularShape(float, float)

Creates a linear gradient with a center color and a linear falloff to a single color on both ends.

public void SetBlendTriangularShape(float focus, float scale)
ParameterTypeDescription
focusSingleA value from 0 through 1 that specifies the center of the gradient (the point where the gradient is composed of only the ending color).
scaleSingleA value from 0 through 1 that specifies how fast the colors falloff from the starting color to focus (ending color)

See Also