Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.trolltech.qt.gui
Class QImage.InvertMode

    java.lang.Object
      java.lang.Enum
          com.trolltech.qt.gui.QImage.InvertMode

All Implemented Interfaces:
  QtEnumerator, java.io.Serializable, java.lang.Comparable

Enclosing class:
  QImage

    public static final class QImage.InvertMode

extends java.lang.Enum
implements QtEnumerator

This enum type is used to describe how pixel values should be inverted in the `invertPixels()` function.

See also:
  `invertPixels()`.

See Also:
  Serialized Form

Field Summary
`static QImage.InvertMode` | `InvertRgb` Invert only the RGB values and leave the alpha channel unchanged.
`static QImage.InvertMode` | `InvertRgba` Invert all channels, including the alpha channel.

Method Summary
`static QImage.InvertMode` | `resolve(int value)` Returns the InvertMode constant with the specified `int`.
`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)`
`static QImage.InvertMode[]` | `values()`

Methods inherited from class java.lang.Enum
`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### InvertRgb

    public static final QImage.InvertMode InvertRgb

  Invert only the RGB values and leave the alpha channel unchanged.

### InvertRgba

    public static final QImage.InvertMode InvertRgba

  Invert all channels, including the alpha channel.

Method Detail

### values

    public static QImage.InvertMode[] values()

### valueOf

    public static QImage.InvertMode valueOf(java.lang.String name)

### value

    public int value()

  This function should return an integer value for the enum values of the enumeration that implements this interface.

  Specified by:
    `value` in interface `QtEnumerator`

### resolve

    public static QImage.InvertMode resolve(int value)

  Returns the InvertMode constant with the specified `int`.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD