|
|||||||||
| 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.QPainterPath.ElementType
public static final class QPainterPath.ElementType
This enum describes the types of elements used to connect vertices in subpaths.
Note that elements added as closed subpaths using the addEllipse(), addPath(), addPolygon(), addRect(), addRegion() and addText() convenience functions, is actually added to the path as a collection of separate elements using the moveTo(), lineTo() and cubicTo() functions.
elementAt(), and elementCount().
| Field Summary | |
|---|---|
static QPainterPath.ElementType |
CurveToDataElement
The extra data required to describe a curve in a CurveToElement element. |
static QPainterPath.ElementType |
CurveToElement
A curve. |
static QPainterPath.ElementType |
LineToElement
A line. |
static QPainterPath.ElementType |
MoveToElement
A new subpath. |
| Method Summary | |
|---|---|
static QPainterPath.ElementType |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QPainterPath.ElementType |
valueOf(java.lang.String name)
|
static QPainterPath.ElementType[] |
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 QPainterPath.ElementType MoveToElement
moveTo().
public static final QPainterPath.ElementType LineToElement
lineTo().
public static final QPainterPath.ElementType CurveToElement
cubicTo() and quadTo().
public static final QPainterPath.ElementType CurveToDataElement
CurveToElement element.
| Method Detail |
|---|
public static QPainterPath.ElementType[] values()
public static QPainterPath.ElementType valueOf(java.lang.String name)
public int value()
value in interface QtEnumeratorpublic static QPainterPath.ElementType resolve(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||