Table of Contents

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

Start Point
End Point
Stops GradientStop[]
RelativeToBounds bool

Properties

End

public Point End { get; init; }

Property Value

Point

RelativeToBounds

public bool RelativeToBounds { get; init; }

Property Value

bool

Start

public Point Start { get; init; }

Property Value

Point

Stops

public GradientStop[] Stops { get; init; }

Property Value

GradientStop[]