@JsType(namespace="xgl.color") public class HunterLabColor extends WhitePointDefined
Modifier and Type | Field and Description |
---|---|
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 |
---|
HunterLabColor(double l,
double a,
double b) |
HunterLabColor(double l,
double a,
double b,
double alpha) |
HunterLabColor(double l,
double a,
double b,
double alpha,
WhitePoint whitePoint) |
HunterLabColor(double l,
double a,
double b,
WhitePoint whitePoint) |
Modifier and Type | Method and Description |
---|---|
double |
getA() |
double |
getB() |
ColorModel |
getColorModel()
Returns the color space of the color.
|
WhitePoint |
getDefaultWhitePoint() |
double |
getL() |
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 WhitePoint DEFAULT_WHITE_POINT
@JsIgnore public HunterLabColor(double l, double a, double b)
@JsIgnore public HunterLabColor(double l, double a, double b, double alpha)
@JsIgnore public HunterLabColor(double l, double a, double b, WhitePoint whitePoint)
@JsIgnore public HunterLabColor(double l, double a, double b, double alpha, WhitePoint whitePoint)
public double getL()
public double getA()
public double getB()
public ColorModel getColorModel()
Color
getColorModel
in class Color
public WhitePoint getDefaultWhitePoint()
getDefaultWhitePoint
in class WhitePointDefined
Copyright © 2018 Xalys. All rights reserved.