|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QImage.InvertMode>
com.trolltech.qt.gui.QImage.InvertMode
public static enum QImage.InvertMode
This enum type is used to describe how pixel values should be inverted in the invertPixels function.
Enum Constant Summary | |
---|---|
InvertRgb
Invert only the RGB values and leave the alpha channel unchanged. |
|
InvertRgba
Invert all channels, including the alpha channel. |
Method Summary | |
---|---|
static QImage.InvertMode |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QImage.InvertMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QImage.InvertMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QImage.InvertMode InvertRgb
Invert only the RGB values and leave the alpha channel unchanged.
public static final QImage.InvertMode InvertRgba
Invert all channels, including the alpha channel.
Method Detail |
---|
public static final QImage.InvertMode[] values()
for(QImage.InvertMode c : QImage.InvertMode.values()) System.out.println(c);
public static QImage.InvertMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QImage.InvertMode resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |