GradientAxialShading
Overview
GradientAxialShading is a class in Aspose.Pdf FOSS for Java.
Represents an axial (linear) gradient shading pattern.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
startColor | Color | Read | Gets the color at the start of the gradient. |
endColor | Color | Read | Gets the color at the end of the gradient. |
Methods
| Signature | Description |
|---|---|
GradientAxialShading() | Creates a new axial shading with no colors set. |
GradientAxialShading(startColor: Color, endColor: Color) | Creates a new axial shading with the specified start and end colors. |
getStartColor() → Color | Gets the color at the start of the gradient. |
setStartColor(startColor: Color) | Sets the color at the start of the gradient. |
getEndColor() → Color | Gets the color at the end of the gradient. |
setEndColor(endColor: Color) | Sets the color at the end of the gradient. |