public class OCAColor extends Color
OCAColorSpace
.Modifier and Type | Class and Description |
---|---|
static class |
OCAColor.OCAColorValue |
black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW
BITMASK, OPAQUE, TRANSLUCENT
Constructor and Description |
---|
OCAColor(OCAColor.OCAColorValue oca) |
Modifier and Type | Method and Description |
---|---|
float[] |
getColorComponents(ColorSpace cspace,
float[] compArray) |
ColorSpace |
getColorSpace() |
int |
getOCA() |
brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB, toString
public OCAColor(OCAColor.OCAColorValue oca)
public int getOCA()
public ColorSpace getColorSpace()
getColorSpace
in class Color
public float[] getColorComponents(ColorSpace cspace, float[] compArray)
getColorComponents
in class Color
Copyright © 2025 Apache Software Foundation. All rights reserved.