GradientAxialShading
Vue de l’ensemble
‘GradientAxialShading’ est une classe dans Aspose.PDF FOSS pour Java.
Il représente un modèle d’ombre axial (lineaire) gradient.
Cette classe fournit 6 méthodes pour travailler avec les objets GradientAxialShading dans les programmes Java. Les méthodologies disponibles comprennent: ‘GradienAxieShader’, ‘getEndColor’, `getStartColore’, ‘setEndColore’, ‘setStardColors’. Tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspouse.PDF FOSS pour le package Java . Propriétés : ’endColour’, «startColora ».
Propriétés
| 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. |
méthodes
| 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. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise