Package | Description |
---|---|
com.xalys.xgl.util.color |
Modifier and Type | Method and Description |
---|---|
CMYColor |
Color.cmy() |
static CMYColor |
Color.cmy(CMYColor cmy)
Converts a color in the CMY color model to CMY with the default CMY color
space
|
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)
Converts a color from CMYK color model to CMY color model, using the
default CMY 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)
Converts a color color space to CMY color model, using the default CMY
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)
Converts a color from RGB color model to CMY color model, using the default
CMY color space
|
static CMYColor |
Color.cmy(RGBColor rgb,
ColorSpace colorSpace)
Converts a color from RGB color model to CMY color model, using the
provided color space
|
Modifier and Type | Method and Description |
---|---|
static CMYColor |
Color.cmy(CMYColor cmy)
Converts a color in the CMY color model to CMY with the default CMY color
space
|
static CMYColor |
Color.cmy(CMYColor cmy,
ColorSpace colorSpace)
Converts a color in the CMY color model to CMY with the provided color
space
|
static CMYKColor |
Color.cmyk(CMYColor cmy)
Converts a color from CMY color model to CMYK color model, using the
default CMYK 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 RGBColor |
Color.rgb(CMYColor cmy)
Converts a color from CMY color model to CMY color model, using the default
RGB 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
|
Copyright © 2018 Xalys. All rights reserved.