public enum Composite extends Enum<Composite>
Layer
.Enum Constant and Description |
---|
CLEAR |
DST |
DST_ATOP |
DST_IN |
DST_OUT |
DST_OVER |
SRC |
SRC_ATOP |
SRC_IN |
SRC_OUT |
SRC_OVER |
XOR |
Modifier and Type | Method and Description |
---|---|
AlphaComposite |
getAlphaComposite(float alpha) |
int |
getValue() |
static Composite |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Composite[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Composite CLEAR
public static final Composite SRC
public static final Composite DST
public static final Composite SRC_OVER
public static final Composite DST_OVER
public static final Composite SRC_IN
public static final Composite DST_IN
public static final Composite SRC_OUT
public static final Composite DST_OUT
public static final Composite SRC_ATOP
public static final Composite DST_ATOP
public static final Composite XOR
public static Composite[] values()
for (Composite c : Composite.values()) System.out.println(c);
public static Composite 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 getValue()
public AlphaComposite getAlphaComposite(float alpha)
Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.