PeachDrawing.Text
PeachDrawing.Text.Outlines
PaintLinearGradient Class
Fills with a linear gradient along a line, given by three points as the COLR specification defines it.
public sealed class PaintLinearGradient : PeachDrawing.Text.Outlines.ColorPaint
Inheritance System.Object → ColorPaint → PaintLinearGradient
| Properties | |
|---|---|
| Line | The colours of the gradient. |
| X0 | The x coordinate of the start point. |
| X1 | The x coordinate of the end point. |
| X2 | The x coordinate of the rotation point: lines of equal colour run parallel to the line from the start point to this one. |
| Y0 | The y coordinate of the start point. |
| Y1 | The y coordinate of the end point. |
| Y2 | The y coordinate of the rotation point. |