Namespace EasyXLS.Drawings.Formatting
Class GradientStop
System.Object
EasyXLS.Drawings.Formatting.GradientStop
public class GradientStop
extends System.Object
This class stores the position, the color and the transparency of a stop for the gradient fill.
-
Constant Summary
Modifier and TypeFieldDescriptionSystem.Object
The gradient color.int
The gradient stop position from where the gradient to start.int
The color transparency. -
Constructor Summary
ConstructorDescriptionGradientStop(int position, ThemeColor color, int transparency)
Defines an instance of the gradient stop having the specified position, color and transparency.GradientStop(int position, System.Drawing.Color color, int transparency)
Defines an instance of the gradient stop having the specified position, color and transparency. -
Method Summary
Methods inherited from class System.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Position
public int PositionThe gradient stop position from where the gradient to start. -
Color
public System.Object ColorThe gradient color. It can be a System.Drawing.Color or anThemeColor
. -
Transparency
public int TransparencyThe color transparency.
-
-
Constructor Details
-
GradientStop
public GradientStop(int position, System.Drawing.Color color, int transparency)Defines an instance of the gradient stop having the specified position, color and transparency.- Parameters:
position
- the gradient stop position from where the gradient to startcolor
- the gradient colortransparency
- the color transparency
-
GradientStop
Defines an instance of the gradient stop having the specified position, color and transparency.- Parameters:
position
- the gradient stop position from where the gradient to startcolor
- the gradient colortransparency
- the color transparency
-