@JsType(namespace="xgl.color") public class CIELuvColor extends WhitePointDefined
Modifier and Type | Field and Description |
---|---|
static ColorModel |
COLOR_MODEL |
static WhitePoint |
DEFAULT_WHITE_POINT |
ALICE_BLUE, alpha, ANTIQUE_WHITE, AQUA, AQUAMARINE, AZURE, BEIGE, BISQUE, BLACK, BLANCHED_ALMOND, BLUE, BLUE_VIOLET, BROWN, BURLY_WOOD, CADET_BLUE, CHARTREUSE, CHOCOLATE, CORAL, CORNFLOWER_BLUE, CORNSILK, CRIMSON, CYAN, DARK_BLUE, DARK_CYAN, DARK_GOLDEN_ROD, DARK_GRAY, DARK_GREEN, DARK_GREY, DARK_KHAKI, DARK_MAGENTA, DARK_OLIVE_GREEN, DARK_ORANGE, DARK_ORCHID, DARK_RED, DARK_SALMON, DARK_SEA_GREEN, DARK_SLATE_BLUE, DARK_SLATE_GRAY, DARK_SLATE_GREY, DARK_TURQUOISE, DARK_VIOLET, DEEP_PINK, DEEP_SKY_BLUE, DIM_GRAY, DIM_GREY, DODGER_BLUE, FIRE_BRICK, FLORAL_WHITE, FOREST_GREEN, FUCHSIA, GAINSBORO, GHOST_WHITE, GOLD, GOLDENROD, GRAY, GREEN, GREEN_YELLOW, GREY, HONEY_DEW, HOT_PINK, htmlColor, INDIAN_RED, INDIGO, IVORY, KHAKI, LAVENDER, LAVENDER_BLUSH, LAWN_GREEN, LEMON_CHIFFON, LIGHT_BLUE, LIGHT_CORAL, LIGHT_CYAN, LIGHT_GOLDENROD_YELLOW, LIGHT_GRAY, LIGHT_GREEN, LIGHT_GREY, LIGHT_PINK, LIGHT_SALMON, LIGHT_SEA_GREEN, LIGHT_SKY_BLUE, LIGHT_SLATE_GRAY, LIGHT_SLATE_GREY, LIGHT_STEEL_BLUE, LIGHT_YELLOW, LIME, LIME_GREEN, LINEN, MAGENTA, MAROON, MEDIUM_AQUAMARINE, MEDIUM_BLUE, MEDIUM_ORCHID, MEDIUM_PURPLE, MEDIUM_SEA_GREEN, MEDIUM_SLATE_BLUE, MEDIUM_SPRING_GREEN, MEDIUM_TURQUOISE, MEDIUM_VIOLET_RED, MIDNIGHT_BLUE, MINT_CREAM, MISTY_ROSE, MOCCASIN, NAVAJO_WHITE, NAVY, OLD_LACE, OLIVE, OLIVE_DRAB, ORANGE, ORANGE_RED, ORCHID, PALE_GOLDENROD, PALE_GREEN, PALE_TURQUOISE, PALE_VIOLETRED, PAPAYA_WHIP, PEACH_PUFF, PERU, PINK, PLUM, POWDER_BLUE, PURPLE, REBECCA_PURPLE, RED, ROSY_BROWN, ROYAL_BLUE, SADDLE_BROWN, SALMON, SANDY_BROWN, SEA_GREEN, SEA_SHELL, SIENNA, SILVER, SKY_BLUE, SLATE_BLUE, SLATE_GRAY, SLATE_GREY, SNOW, SPRING_GREEN, STEEL_BLUE, TAN, TEAL, THISTLE, TOMATO, TRANSPARENT, TURQUOISE, VIOLET, WHEAT, WHITE, WHITE_SMOKE, YELLOW, YELLOW_GREEN
Constructor and Description |
---|
CIELuvColor(double l,
double u,
double v) |
CIELuvColor(double l,
double u,
double v,
double alpha) |
CIELuvColor(double l,
double u,
double v,
double alpha,
WhitePoint whitePoint) |
CIELuvColor(double l,
double u,
double v,
WhitePoint whitePoint) |
Modifier and Type | Method and Description |
---|---|
static CIELuvColor |
asCIELabColor(Color color,
WhitePoint whitePoint)
Converts a color from RGB color space to CIE Lab color space
|
ColorModel |
getColorModel()
Returns the color space of the color.
|
WhitePoint |
getDefaultWhitePoint() |
double |
getL() |
double |
getU() |
double |
getV() |
XYZColor |
xyz() |
getWhitePoint
cieLab, cieLab, cieLab, cieLab, cieLab, cieLab, cieLab, cieLab, cieLch, cieLch, cieLch, cieLch, cieLch, cieLch, cieLch, cieLch, cieLch, cieLch, cieLuh, cieLuh, cieLuh, cieLuh, cieLuh, cieLuh, cieLuv, cieLuv, cieLuv, cieLuv, cieLuv, cieLuv, cmy, cmy, cmy, cmy, cmy, cmy, cmy, cmy, cmy, cmy, cmyk, cmyk, cmyk, cmyk, cmyk, cmyk, cmyk, cmyk, cmyk, cmyk, getAlpha, hsi, hsi, hsi, hsi, hsi, hsi, hsl, hsl, hsl, hsl, hsl, hsl, hsl, hsl, hsv, hsv, hsv, hsv, hsv, hsv, hsv, hsv, hsv, hsv, htmlColor, hunterLab, hunterLab, hunterLab, hunterLab, hunterLab, hunterLab, hwb, hwb, hwb, hwb, hwb, hwb, hwb, hwb, rgb, rgb, rgb, rgb, rgb, rgb, rgb, rgb, rgb, rgb, rgb, srgb, srgb, srgb, toString, yxy, yxy, yxy, yxy
public static final ColorModel COLOR_MODEL
public static final WhitePoint DEFAULT_WHITE_POINT
@JsIgnore public CIELuvColor(double l, double u, double v)
@JsIgnore public CIELuvColor(double l, double u, double v, double alpha)
@JsIgnore public CIELuvColor(double l, double u, double v, WhitePoint whitePoint)
@JsIgnore public CIELuvColor(double l, double u, double v, double alpha, WhitePoint whitePoint)
public double getL()
public double getU()
public double getV()
public ColorModel getColorModel()
Color
getColorModel
in class Color
public static CIELuvColor asCIELabColor(Color color, WhitePoint whitePoint)
rgb
- color in the RGB color spacepublic WhitePoint getDefaultWhitePoint()
getDefaultWhitePoint
in class WhitePointDefined
Copyright © 2018 Xalys. All rights reserved.