java.lang.Object
com.aspose.words.GradientStop
public class GradientStop
- extends java.lang.Object
Represents one gradient stop.
|
Constructor Summary |
GradientStop(java.awt.Color color, double position)
Initializes a new instance of the GradientStop class.
|
GradientStop(java.awt.Color color, double position, double transparency)
Initializes a new instance of the GradientStop class.
|
|
Property Getters/Setters Summary |
java.awt.Color | getColor() | |
void | setColor(java.awt.Color value) | |
|
Gets or sets a value representing the color of the gradient stop.
|
double | getPosition() | |
void | setPosition(double value) | |
|
Gets or sets a value representing the position of a stop within the gradient
expressed as a percent in range 0.0 to 1.0.
|
double | getTransparency() | |
void | setTransparency(double value) | |
|
Gets or sets a value representing the transparency of the gradient fill
expressed as a percent in range 0.0 to 1.0.
|
GradientStop
public GradientStop(java.awt.Color color, double position)
-
Initializes a new instance of the GradientStop class.
- Parameters:
color - Represents the color of the gradient stop.position - Represents the position of a stop within
the gradient expressed as a percent in range 0.0 to 1.0.
GradientStop
public GradientStop(java.awt.Color color, double position, double transparency)
-
Initializes a new instance of the GradientStop class.
- Parameters:
color - Represents the color of the gradient stop.position - Represents the position of a stop within
the gradient expressed as a percent in range 0.0 to 1.0.transparency - Represents the transparency of a stop within
the gradient expressed as a percent in range 0.0 to 1.0.
|
Property Getters/Setters Detail |
getColor/setColor | |
public java.awt.Color getColor() / public void setColor(java.awt.Color value)
|
-
Gets or sets a value representing the color of the gradient stop.
getPosition/setPosition | |
public double getPosition() / public void setPosition(double value)
|
-
Gets or sets a value representing the position of a stop within the gradient
expressed as a percent in range 0.0 to 1.0.
getTransparency/setTransparency | |
public double getTransparency() / public void setTransparency(double value)
|
-
Gets or sets a value representing the transparency of the gradient fill
expressed as a percent in range 0.0 to 1.0.
remove | |
public void remove() |
-
Removes the gradient stop from the parent GradientStopCollection.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.