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.core
Class Qt.PenCapStyle

    java.lang.Object
      java.lang.Enum
          com.trolltech.qt.core.Qt.PenCapStyle

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

Enclosing interface:
  Qt

    public static final class Qt.PenCapStyle

extends java.lang.Enum
implements QtEnumerator

This enum type defines the pen cap styles supported by Qt, i.e. the line end caps that can be drawn using `QPainter`.

`Qt::SquareCap` | `Qt::FlatCap` | `Qt::RoundCap`

See also:
  `QPen`.

See Also:
  Serialized Form

Field Summary
`static Qt.PenCapStyle` | `FlatCap` a square line end that does not cover the end point of the line.
`static Qt.PenCapStyle` | `MPenCapStyle`
`static Qt.PenCapStyle` | `RoundCap` a rounded line end.
`static Qt.PenCapStyle` | `SquareCap` a square line end that covers the end point and extends beyond it by half the line width.

Method Summary
`static Qt.PenCapStyle` | `resolve(int value)` Returns the PenCapStyle 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.PenCapStyle` | `valueOf(java.lang.String name)`
`static Qt.PenCapStyle[]` | `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

### FlatCap

    public static final Qt.PenCapStyle FlatCap

  a square line end that does not cover the end point of the line.

### SquareCap

    public static final Qt.PenCapStyle SquareCap

  a square line end that covers the end point and extends beyond it by half the line width.

### RoundCap

    public static final Qt.PenCapStyle RoundCap

  a rounded line end.

### MPenCapStyle

    public static final Qt.PenCapStyle MPenCapStyle

Method Detail

### values

    public static Qt.PenCapStyle[] values()

### valueOf

    public static Qt.PenCapStyle 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.PenCapStyle resolve(int value)

  Returns the PenCapStyle 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