LinearGradientBrush.SetBlendTriangularShape
Contents
[
Hide
]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)
Parameter | Type | Description |
---|---|---|
focus | Single | A 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
- class LinearGradientBrush
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common
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)
Parameter | Type | Description |
---|---|---|
focus | Single | A value from 0 through 1 that specifies the center of the gradient (the point where the gradient is composed of only the ending color). |
scale | Single | A value from 0 through 1 that specifies how fast the colors falloff from the starting color to focus (ending color) |
See Also
- class LinearGradientBrush
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common