Package | Description |
---|---|
com.xalys.xgl.util.color |
Modifier and Type | Field and Description |
---|---|
static ColorSpace |
ColorSpace.ADOBE_RGB |
static ColorSpace |
ColorSpace.ADOBE_WIDE_GAMUT_RGB |
static ColorSpace |
ColorSpace.APPLE_RGB |
static ColorSpace |
ColorSpace.COLORMATCH_RGB |
static ColorSpace |
HWBColor.DEFAULT_COLOR_SPACE |
static ColorSpace |
CMYKColor.DEFAULT_COLOR_SPACE |
static ColorSpace |
HSLColor.DEFAULT_COLOR_SPACE |
static ColorSpace |
HSIColor.DEFAULT_COLOR_SPACE |
static ColorSpace |
CMYColor.DEFAULT_COLOR_SPACE |
static ColorSpace |
RGBColor.DEFAULT_COLOR_SPACE |
static ColorSpace |
HSVColor.DEFAULT_COLOR_SPACE |
static ColorSpace |
ColorSpace.HDTV |
static ColorSpace |
ColorSpace.PROPHOTO_RGB |
static ColorSpace |
ColorSpace.S_RGB |
static ColorSpace |
ColorSpace.UHDTV |
Modifier and Type | Method and Description |
---|---|
ColorSpace |
ColorSpaceDefined.getColorSpace() |
ColorSpace |
HWBColor.getDefaultColorSpace() |
ColorSpace |
CMYKColor.getDefaultColorSpace() |
ColorSpace |
HSLColor.getDefaultColorSpace() |
abstract ColorSpace |
ColorSpaceDefined.getDefaultColorSpace() |
ColorSpace |
HSIColor.getDefaultColorSpace() |
ColorSpace |
CMYColor.getDefaultColorSpace() |
ColorSpace |
RGBColor.getDefaultColorSpace() |
ColorSpace |
HSVColor.getDefaultColorSpace() |
Modifier and Type | Method and Description |
---|---|
static CMYColor |
Color.cmy(CMYColor cmy,
ColorSpace colorSpace)
Converts a color in the CMY color model to CMY with the provided color
space
|
static CMYColor |
Color.cmy(CMYKColor cmyk,
ColorSpace colorSpace)
Converts a color from CMYK color model to CMY color model, using the
provided color space
|
static CMYColor |
Color.cmy(Color color,
ColorSpace colorSpace)
Converts a color color space to CMY color model, using the provided color
space
|
CMYColor |
Color.cmy(ColorSpace colorSpace) |
static CMYColor |
Color.cmy(RGBColor rgb,
ColorSpace colorSpace)
Converts a color from RGB color model to CMY color model, using the
provided color space
|
static CMYKColor |
Color.cmyk(CMYColor cmy,
ColorSpace colorSpace)
Converts a color from CMY color model to CMYK color model, using the
provided color space
|
static CMYKColor |
Color.cmyk(CMYKColor cmyk,
ColorSpace colorSpace)
Converts a color in the CMYK color model to CMYK with the provided color
space
|
static CMYKColor |
Color.cmyk(Color color,
ColorSpace colorSpace)
Converts a color color space to CMYK color model, using the provided color
space
|
CMYKColor |
Color.cmyk(ColorSpace colorSpace) |
static CMYKColor |
Color.cmyk(RGBColor rgb,
ColorSpace colorSpace)
Converts a color from RGB color model to CMY color model, using the
provided color space
|
static HSIColor |
Color.hsi(Color color,
ColorSpace colorSpace)
Converts a color from HSV color space to HSL color space
|
HSIColor |
Color.hsi(ColorSpace colorSpace) |
static HSIColor |
Color.hsi(RGBColor rgb,
ColorSpace colorSpace)
Converts a color from HSV color space to HSL color space
|
static HSLColor |
Color.hsl(Color color,
ColorSpace colorSpace)
Converts a color from HSV color space to HSL color space
|
HSLColor |
Color.hsl(ColorSpace colorSpace) |
static HSLColor |
Color.hsl(HSVColor hsv,
ColorSpace colorSpace)
Converts a color from HSV color space to HSL color space
|
static HSLColor |
Color.hsl(RGBColor rgb,
ColorSpace colorSpace)
Converts a color from HSV color space to HSL color space
|
static HSVColor |
Color.hsv(Color color,
ColorSpace colorSpace)
Converts a color to HSV color space
|
HSVColor |
Color.hsv(ColorSpace colorSpace) |
static HSVColor |
Color.hsv(HSLColor hsl,
ColorSpace colorSpace)
Converts a color from HSL color space to HSV color space
|
static HSVColor |
Color.hsv(HWBColor hwb,
ColorSpace colorSpace)
Converts a color from HWB color space to HSV color space
|
static HSVColor |
Color.hsv(RGBColor rgb,
ColorSpace colorSpace)
Converts a color from HSV color space to HSL color space
|
static HWBColor |
Color.hwb(Color color,
ColorSpace colorSpace)
Converts a color from HSV color space to HWB color space
|
HWBColor |
Color.hwb(ColorSpace colorSpace) |
static HWBColor |
Color.hwb(HSVColor hsv,
ColorSpace colorSpace)
Converts a color from HSV color space to HWB color space
|
static HWBColor |
Color.hwb(RGBColor rgb,
ColorSpace colorSpace)
Converts a color from HSV color space to HWB color space
|
static RGBColor |
Color.rgb(CMYColor cmy,
ColorSpace colorSpace)
Converts a color from CMY color model to RGB color model, using the
provided color space
|
static RGBColor |
Color.rgb(CMYKColor cmyk,
ColorSpace colorSpace)
Converts a color from CMYK color space to RGB color space
|
static RGBColor |
Color.rgb(Color color,
ColorSpace colorSpace)
Converts a color to RGB color space
|
RGBColor |
Color.rgb(ColorSpace colorSpace) |
RGBColor |
HSLColor.toRGB(ColorSpace colorSpace) |
RGBColor |
HSIColor.toRGB(ColorSpace colorSpace) |
Constructor and Description |
---|
CMYColor(double cyan,
double magenta,
double yellow,
ColorSpace colorSpace) |
CMYColor(double cyan,
double magenta,
double yellow,
double alpha,
ColorSpace colorSpace) |
CMYKColor(double cyan,
double magenta,
double yellow,
double key,
ColorSpace colorSpace) |
CMYKColor(double cyan,
double magenta,
double yellow,
double key,
double alpha,
ColorSpace colorSpace) |
ColorSpaceDefined(ColorSpace colorSpace) |
HSIColor(double hue,
double saturation,
double intensity,
ColorSpace colorSpace) |
HSIColor(double hue,
double saturation,
double intensity,
double alpha,
ColorSpace colorSpace) |
HSLColor(double hue,
double saturation,
double lightness,
ColorSpace colorSpace) |
HSLColor(double hue,
double saturation,
double lightness,
double alpha,
ColorSpace colorSpace) |
HSVColor(double hue,
double saturation,
double value,
ColorSpace colorSpace) |
HSVColor(double hue,
double saturation,
double value,
double alpha,
ColorSpace colorSpace) |
HWBColor(double hue,
double whiteness,
double blackness,
ColorSpace colorSpace) |
HWBColor(double hue,
double whiteness,
double blackness,
double alpha,
ColorSpace colorSpace) |
RGBColor(Color color,
ColorSpace colorSpace) |
RGBColor(Color color,
double alpha,
ColorSpace colorSpace) |
RGBColor(double red,
double green,
double blue,
ColorSpace rgbColorSpace) |
RGBColor(double red,
double green,
double blue,
double alpha,
ColorSpace colorSpace) |
RGBColor(int red,
int green,
int blue,
ColorSpace rgbColorSpace) |
RGBColor(int red,
int green,
int blue,
double alpha,
ColorSpace colorSpace) |
Copyright © 2018 Xalys. All rights reserved.