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: