@JsType(namespace="xgl.color") public class HSVColor extends ColorSpaceDefined
Modifier and Type | Field and Description |
---|---|
static ColorModel |
COLOR_MODEL |
static ColorSpace |
DEFAULT_COLOR_SPACE |
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 |
---|
HSVColor(double hue,
double saturation,
double value) |
HSVColor(double hue,
double saturation,
double value,
ColorSpace colorSpace) |
HSVColor(double hue,
double saturation,
double value,
double alpha) |
HSVColor(double hue,
double saturation,
double value,
double alpha,
ColorSpace colorSpace) |
Modifier and Type | Method and Description |
---|---|
ColorModel |
getColorModel()
Returns the color space of the color.
|
ColorSpace |
getDefaultColorSpace() |
double |
getHue() |
double |
getSaturation() |
double |
getValue() |
XYZColor |
xyz() |
getColorSpace
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 ColorSpace DEFAULT_COLOR_SPACE
@JsIgnore public HSVColor(double hue, double saturation, double value)
@JsIgnore public HSVColor(double hue, double saturation, double value, double alpha)
@JsIgnore public HSVColor(double hue, double saturation, double value, ColorSpace colorSpace)
@JsIgnore public HSVColor(double hue, double saturation, double value, double alpha, ColorSpace colorSpace)
public ColorSpace getDefaultColorSpace()
getDefaultColorSpace
in class ColorSpaceDefined
public double getHue()
public double getSaturation()
public double getValue()
public ColorModel getColorModel()
Color
getColorModel
in class Color
Copyright © 2018 Xalys. All rights reserved.