public class CTGradientStop extends java.lang.Object implements Child
Java class for CT_GradientStop complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_GradientStop">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="color" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Color"/>
</sequence>
<attribute name="position" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CTColor |
color |
protected double |
position |
| Constructor and Description |
|---|
CTGradientStop() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
CTColor |
getColor()
Gets the value of the color property.
|
java.lang.Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
double |
getPosition()
Gets the value of the position property.
|
void |
setColor(CTColor value)
Sets the value of the color property.
|
void |
setParent(java.lang.Object parent) |
void |
setPosition(double value)
Sets the value of the position property.
|
protected CTColor color
protected double position
public CTColor getColor()
CTColorpublic void setColor(CTColor value)
value - allowed object is
CTColorpublic double getPosition()
public void setPosition(double value)
public java.lang.Object getParent()
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007–2025. All rights reserved.