public final class GradientStop extends PVIObject implements IGradientStop
Represent a gradient format.
Modifier and Type | Method and Description |
---|---|
IColorFormat |
getColor()
Returns the color of a gradient stop.
|
float |
getPosition()
Returns or sets the position (0..1) of a gradient stop.
|
void |
setPosition(float value)
Returns or sets the position (0..1) of a gradient stop.
|
equals, getParent_Immediate, getParent_IPresentationComponent, getParent_ISlideComponent, getPresentation, getSlide, getVersion, hashCode, reset_Parent_IPresentationComponent
public final float getPosition()
Returns or sets the position (0..1) of a gradient stop.
Read/write float
.
getPosition
in interface IGradientStop
public final void setPosition(float value)
Returns or sets the position (0..1) of a gradient stop.
Read/write float
.
setPosition
in interface IGradientStop
public final IColorFormat getColor()
Returns the color of a gradient stop.
Read-only IColorFormat
.
getColor
in interface IGradientStop