|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.gui.QGradient.CoordinateMode
public static final class QGradient.CoordinateMode
This enum specifies how gradient coordinates map to the paint device on which the gradient is used.
Field Summary | |
---|---|
static QGradient.CoordinateMode |
LogicalMode
This is the default mode. |
static QGradient.CoordinateMode |
ObjectBoundingMode
In this mode the gradient coordinates are relative to the bounding rectangle of the object being drawn, with (0,0) in the top left corner, and (1,1) in the bottom right corner of the object's bounding rectangle. |
static QGradient.CoordinateMode |
StretchToDeviceMode
In this mode the gradient coordinates are relative to the bounding rectangle of the paint device, with (0,0) in the top left corner, and (1,1) in the bottom right corner of the paint device. |
Method Summary | |
---|---|
static QGradient.CoordinateMode |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QGradient.CoordinateMode |
valueOf(java.lang.String name)
|
static QGradient.CoordinateMode[] |
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 |
---|
public static final QGradient.CoordinateMode LogicalMode
public static final QGradient.CoordinateMode StretchToDeviceMode
public static final QGradient.CoordinateMode ObjectBoundingMode
Method Detail |
---|
public static QGradient.CoordinateMode[] values()
public static QGradient.CoordinateMode valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QGradient.CoordinateMode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |