gradientstop-ag凯发旗舰厅
com.spire.presentation.drawing
class gradientstop
java.lang.object
com.spire.presentation.drawing.gradientstop
public class gradientstop
- extends java.lang.object
represents a gradient stop.
method summary |
colorformat |
getcolor()
gets the color of a gradient stop. |
float |
getposition()
gets the position (0..1) of a gradient stop. |
void |
setposition(float value)
sets the position (0..1) of a gradient stop. |
gradientstop
public gradientstop(float position,
colorformat color)
getposition
public float getposition()
- gets the position (0..1) of a gradient stop.
read/write .
- returns:
setposition
public void setposition(float value)
- sets the position (0..1) of a gradient stop.
read/write .
getcolor
public colorformat getcolor()
- gets the color of a gradient stop.
read-only .
- returns: