com.trolltech.qt.core
Class Qt.TransformationMode

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.core.Qt.TransformationMode
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing interface:
Qt

public static final class Qt.TransformationMode
extends java.lang.Enum
implements QtEnumerator

This enum type defines whether image transformations (e. ., scaling) should be smooth or not.

See also:
QImage::scaled().

See Also:
Serialized Form

Field Summary
static Qt.TransformationMode FastTransformation
          The transformation is performed quickly, with no smoothing.
static Qt.TransformationMode SmoothTransformation
          The resulting image is transformed using bilinear filtering.
 
Method Summary
static Qt.TransformationMode resolve(int value)
          Returns the Qt$TransformationMode 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 Qt.TransformationMode valueOf(java.lang.String name)
           
static Qt.TransformationMode[] 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

FastTransformation

public static final Qt.TransformationMode FastTransformation
The transformation is performed quickly, with no smoothing.


SmoothTransformation

public static final Qt.TransformationMode SmoothTransformation
The resulting image is transformed using bilinear filtering.

Method Detail

values

public static Qt.TransformationMode[] values()

valueOf

public static Qt.TransformationMode 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 Qt.TransformationMode resolve(int value)
Returns the Qt$TransformationMode constant with the specified int.