Share via


Overview | Fields | This Package | All Packages

OverviewFieldsThis PackageAll Packages

Color Methods

Constructors Description
Color Creates a Color object.
Methods Description
equals Retrieves a boolean value that indicates whether the specified object is equivalent to this Color object.
fromCMYK Creates a new Color object based on the specified color values.
fromHSB Creates a new Color object based on the specified hue, saturation, and brightness values.
getBlack Returns the level of black in this color, using a CMYK color system.
getBlue Retrieves the blue component of the color.
getBrightness Retrieves the HSB brightness for this color.
getConstructorArgs Retrieves an array of ConstructorArg objects that describe the data types and values needed to persist this object.
getCyan Retrieves the level of cyan in this color, using a CMYK color system.
getGreen Retrieves the green component of the color.
getHue Retrieves the HSB hue value for this color.
getMagenta Retrieves the level of magenta in this color, using a CMYK color system.
getRed Retrieves the red component of the color.
getRGB Retrieves the entire RGB triplet for the color.
getSaturation Retrieves the HSB saturation for this color.
getValue Retrieves the current value of this Color object.
getYellow Retrieves the level of yellow in this color, using a CMYK color system.
hashCode Retrieves a hash code for this object for use with various sorting and hash table objects.
toString Retrieves a string description of the Color object.