public enum ColorComponent extends Enum<ColorComponent>
| Modifier and Type | Class and Description |
|---|---|
static class |
ColorComponent.Colors |
| Enum Constant and Description |
|---|
CMKY_COMPONENTS |
GRAY_COMPONENTS |
RGB_COMPONENTS |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
createAttributesMap(double[] componentValues) |
EnumSet<ColorComponent.Colors> |
getColors() |
int |
getSize() |
static ColorComponent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorComponent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorComponent GRAY_COMPONENTS
public static final ColorComponent RGB_COMPONENTS
public static final ColorComponent CMKY_COMPONENTS
public static ColorComponent[] values()
for (ColorComponent c : ColorComponent.values()) System.out.println(c);
public static ColorComponent valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getSize()
public EnumSet<ColorComponent.Colors> getColors()
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.