public class GradientColorPoint extends Object implements IGradientColorPoint
The Gradient Color Point.
Constructor and Description |
---|
GradientColorPoint()
Initializes a new instance of the
GradientColorPoint class. |
GradientColorPoint(Color color,
int location,
int medianPointLocation)
Initializes a new instance of the
GradientColorPoint class. |
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Gets or sets the color.
|
int |
getLocation()
Gets or sets the point location on gradient.
|
int |
getMedianPointLocation()
Gets or sets the median gradient point location.
|
void |
setColor(Color value)
Gets or sets the color.
|
void |
setLocation(int value)
Gets or sets the point location on gradient.
|
void |
setMedianPointLocation(int value)
Gets or sets the median gradient point location.
|
public GradientColorPoint()
Initializes a new instance of the GradientColorPoint
class.
public GradientColorPoint(Color color, int location, int medianPointLocation)
Initializes a new instance of the GradientColorPoint
class.
color
- Color point on gradient.location
- The location of the color point on the gradient.medianPointLocation
- The median gradient point location.public final Color getColor()
Gets or sets the color.
Value: The color.getColor
in interface IGradientColorPoint
public final void setColor(Color value)
Gets or sets the color.
Value: The color.setColor
in interface IGradientColorPoint
public final int getLocation()
Gets or sets the point location on gradient.
Value: The location.getLocation
in interface IGradientColorPoint
public final void setLocation(int value)
Gets or sets the point location on gradient.
Value: The location.setLocation
in interface IGradientColorPoint
public final int getMedianPointLocation()
Gets or sets the median gradient point location.
Value: The median point location.getMedianPointLocation
in interface IGradientColorPoint
public final void setMedianPointLocation(int value)
Gets or sets the median gradient point location.
Value: The median point location.setMedianPointLocation
in interface IGradientColorPoint
Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.