接口 IColorStop
public interface IColorStop
Represents the color stop point for a gradient fill in a range or selection.
-
方法概要
修饰符和类型方法说明void
delete()
Deletes the represented object.getColor()
Gets theColor
of the representedIColorStop
.double
Gets the position of theIColorStop
.Gets the theme color of the represented object.double
Gets the tint and shade of the represented object.void
Sets theColor
of the representedIColorStop
.void
setPosition
(double value) Sets the position of theIColorStop
.void
setThemeColor
(ThemeColor value) Sets the theme color of the represented object.void
setTintAndShade
(double value) Sets the tint and shade of the represented object.
-
方法详细资料
-
getColor
Color getColor()Gets theColor
of the representedIColorStop
. -
setColor
Sets theColor
of the representedIColorStop
. -
getPosition
double getPosition()Gets the position of theIColorStop
. -
setPosition
void setPosition(double value) Sets the position of theIColorStop
. -
getThemeColor
ThemeColor getThemeColor()Gets the theme color of the represented object. -
setThemeColor
Sets the theme color of the represented object. -
getTintAndShade
double getTintAndShade()Gets the tint and shade of the represented object. The valid number is from -1 (darkest) to 1 (lightest). Zero (0) is neutral. -
setTintAndShade
void setTintAndShade(double value) Sets the tint and shade of the represented object. The valid number is from -1 (darkest) to 1 (lightest). Zero (0) is neutral. -
delete
void delete()Deletes the represented object.
-