Interface IColorFormat
public interface IColorFormat
Represents the color of a one-color object, the color of an object with a gradient or patterned fill, or the pointer color.
-
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the luminosity of the specified object.Gets the color type.Gets a color that is mapped to the theme color scheme.getRGB()Gets theColorobject.doubleGets the color of a color object as an index in the current color scheme.voidsetBrightness(double value) Sets the luminosity of the specified object.voidsetColorType(SolidColorType value) Sets the color type.voidsetObjectThemeColor(ThemeColor value) Sets a color that is mapped to the theme color scheme.voidSets theColorobject.voidsetTintAndShade(double value) Sets the color of a color object as an index in the current color scheme.
-
Method Details
-
getBrightness
double getBrightness()Gets the luminosity of the specified object. -
setBrightness
void setBrightness(double value) Sets the luminosity of the specified object. -
getObjectThemeColor
ThemeColor getObjectThemeColor()Gets a color that is mapped to the theme color scheme. -
setObjectThemeColor
Sets a color that is mapped to the theme color scheme. -
getRGB
Color getRGB()Gets theColorobject. -
setRGB
Sets theColorobject. -
getTintAndShade
double getTintAndShade()Gets the color of a color object as an index in the current color scheme. -
setTintAndShade
void setTintAndShade(double value) Sets the color of a color object as an index in the current color scheme. -
getColorType
SolidColorType getColorType()Gets the color type. -
setColorType
Sets the color type.
-