gradientstop-ag凯发旗舰厅



com.spire.presentation.drawing
class gradientstop

java.lang.object
  extended by com.spire.presentation.drawing.gradientstop

public class gradientstop
extends java.lang.object

represents a gradient stop.


constructor summary
gradientstop(float position, colorformat color)
           
 
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.
 
constructor detail

gradientstop

public gradientstop(float position,
                    colorformat color)
method detail

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:


网站地图