LinearGradient
Overview
LinearGradient is a type in Aspose.PDF FOSS for Go.
LinearGradient interpolates colour along the line from (X1, Y1) to (X2, Y2).
Properties: Stops, X1, X2, Y1, Y2.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
X1 | float64 | Read/Write | Gets the x1. |
Y1 | float64 | Read/Write | Gets the y1. |
X2 | float64 | Read/Write | Gets the x2. |
Y2 | float64 | Read/Write | Gets the y2. |
Stops | []GradientStop | Read/Write | Gets the stops. |