Class LinearGradientPaint
- Namespace
- PluginUI
- Assembly
- PluginUI.dll
Linear gradient between two points.
public sealed record LinearGradientPaint : Paint, IEquatable<Paint>, IEquatable<LinearGradientPaint>
- Inheritance
-
LinearGradientPaint
- Implements
- Inherited Members
Constructors
LinearGradientPaint(Point, Point, GradientStop[], bool)
Linear gradient between two points.
public LinearGradientPaint(Point Start, Point End, GradientStop[] Stops, bool RelativeToBounds = true)
Parameters
StartPointEndPointStopsGradientStop[]RelativeToBoundsbool
Properties
End
public Point End { get; init; }
Property Value
RelativeToBounds
public bool RelativeToBounds { get; init; }
Property Value
Start
public Point Start { get; init; }
Property Value
Stops
public GradientStop[] Stops { get; init; }