com.spire.presentation.drawing
Class GradientStopData

java.lang.Object
  extended by com.spire.presentation.drawing.GradientStopData

public class GradientStopData
extends java.lang.Object

Represents a gradient stop.


Constructor Summary
GradientStopData(float position, com.spire.ms.System.Drawing.Color color)
           
 
Method Summary
 java.awt.Color getColor()
          Gets the color of a gradient stop.
 float getPosition()
          Gets the position (0..1) of a gradient stop.
 

Constructor Detail

GradientStopData

public GradientStopData(float position,
                        com.spire.ms.System.Drawing.Color color)
Method Detail

getPosition

public float getPosition()
Gets the position (0..1) of a gradient stop. Readonly .

Returns:

getColor

public java.awt.Color getColor()
Gets the color of a gradient stop. Read-only .

Returns: