GradientStop
Vue de l’ensemble
‘GradientStop’ est une classe dans Aspose.Slides FOSS pour Java.Déduit de: PVIObject, IGradientSTop.
Il s’agit d’une seule stop gradient.
Cette classe fournit 11 méthodes pour travailler avec les objets GradientStop dans les programmes Java. Les méthodologies disponibles comprennent: GradiantStup, PVIObject , asIPresentationComponent ; getColor; ‘getPosition : ‘getPresentations . getsLide., ‘initInternal. saveetsetPosistous les membres publics sont accessibles à toute application Java après l'installation de l’Aspose.Slides FOSS pour le package Java . Propriétés :color,, position', presentation`…
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
position | double | Read | Gets the position. |
color | IColorFormat | Read | Gets the color. |
slide | IBaseSlide | Read | Gets the slide. |
presentation | IPresentation | Read | Gets the presentation. |
méthodes
| Signature | Description |
|---|---|
GradientStop() | Creates an empty {@code GradientStop} with no backing element. |
GradientStop(gsElement: Element, saveCallback: Runnable) | Creates a new GradientStop backed by the given {@code <a:gs>} element. |
initInternal(gsElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide) → GradientStop | Initializes this gradient stop from the given {@code <a:gs>} element, |
| save callback, and parent slide. | |
save() | Persists changes by invoking the save callback, if one was provided. |
getPosition() → double | Returns the position. |
setPosition(value: double) | Sets the position value. |
getColor() → IColorFormat | Returns the color. |
PVIObject() | Creates a PVIObject with no parent slide. |
getSlide() → IBaseSlide | Returns the slide. |
getPresentation() → IPresentation | Returns the presentation. |
asIPresentationComponent() → IPresentationComponent | Returns this object as an {@link IPresentationComponent}. |
Voir aussi
- Aspose.Slides - référence API d’entreprise