System.Drawing.Drawing2D.PathGradientBrush
Encapsulates a Brush object that fills the interior of a GraphicsPath object with a gradient. This class cannot be inherited.
namespace System.Drawing.Drawing2D
{
public sealed class PathGradientBrush : Brush
{
public Color CenterColor { get; set; }
public Color[] SurroundColors { get; set; }
public PointF CenterPoint { get; set; }
public RectangleF Rectangle { get; }
public Blend Blend { get; set; }
public ColorBlend InterpolationColors { get; set; }
public Matrix Transform { get; set; }
public PointF FocusScales { get; set; }
public WrapMode WrapMode { get; set; }
public PathGradientBrush(params PointF[] points);
public PathGradientBrush(ReadOnlySpan<PointF> points);
public PathGradientBrush(PointF[] points, WrapMode wrapMode);
public PathGradientBrush(WrapMode wrapMode, ReadOnlySpan<PointF> points);
public PathGradientBrush(params Point[] points);
public PathGradientBrush(ReadOnlySpan<Point> points);
public PathGradientBrush(Point[] points, WrapMode wrapMode);
public PathGradientBrush(WrapMode wrapMode, ReadOnlySpan<Point> points);
public PathGradientBrush(GraphicsPath path);
public void SetSigmaBellShape(float focus);
public void SetSigmaBellShape(float focus, float scale);
public void SetBlendTriangularShape(float focus);
public void SetBlendTriangularShape(float focus, float scale);
public void ResetTransform();
public void MultiplyTransform(Matrix matrix);
public void MultiplyTransform(Matrix matrix, MatrixOrder order);
public void TranslateTransform(float dx, float dy);
public void TranslateTransform(float dx, float dy, MatrixOrder order);
public void ScaleTransform(float sx, float sy);
public void ScaleTransform(float sx, float sy, MatrixOrder order);
public void RotateTransform(float angle);
public void RotateTransform(float angle, MatrixOrder order);
}
}