PeachDrawing.Core

PeachDrawing.Core

LinearGradientBrush Class

A gradient that varies along the line from Start to End (both in the same user-space coordinates the brush is painted in).

public sealed class LinearGradientBrush : PeachDrawing.Core.Brush

Inheritance System.Object → Brush → LinearGradientBrush

Constructors  
LinearGradientBrush(PaintPoint, PaintPoint, IReadOnlyList<GradientStop>, GradientSpread) A gradient that varies along the line from Start to End (both in the same user-space coordinates the brush is painted in).
Properties  
End The point the gradient line ends at.
Spread How the gradient behaves past its own two ends.
Start The point the gradient line starts at.
Stops The gradient’s colour stops, in ascending GradientStopPosition order.