Home
·
All Classes
·
Modules
QPainterPath Class Reference
[
QtGui
module]
Types
class
Element
enum
ElementType
{ MoveToElement, LineToElement, CurveToElement, CurveToDataElement }
Methods
__init__
(
self
)
__init__
(
self
, QPointF)
__init__
(
self
, QPainterPath)
addEllipse
(
self
, QRectF)
addEllipse
(
self
, float, float, float, float)
addEllipse
(
self
, QPointF, float, float)
addPath
(
self
, QPainterPath)
addPolygon
(
self
, QPolygonF)
addRect
(
self
, QRectF)
addRect
(
self
, float, float, float, float)
addRegion
(
self
, QRegion)
addRoundedRect
(
self
, QRectF, float, float, Qt.SizeMode
mode
= Qt.AbsoluteSize)
addRoundedRect
(
self
, float, float, float, float, float, float, Qt.SizeMode
mode
= Qt.AbsoluteSize)
addRoundRect
(
self
, QRectF, int, int)
addRoundRect
(
self
, float, float, float, float, int, int)
addRoundRect
(
self
, QRectF, int)
addRoundRect
(
self
, float, float, float, float, int)
addText
(
self
, QPointF, QFont, QString)
addText
(
self
, float, float, QFont, QString)
float
angleAtPercent
(
self
, float)
arcMoveTo
(
self
, QRectF, float)
arcMoveTo
(
self
, float, float, float, float, float)
arcTo
(
self
, QRectF, float, float)
arcTo
(
self
, float, float, float, float, float, float)
QRectF
boundingRect
(
self
)
closeSubpath
(
self
)
connectPath
(
self
, QPainterPath)
bool
contains
(
self
, QPointF)
bool
contains
(
self
, QRectF)
bool
contains
(
self
, QPainterPath)
QRectF
controlPointRect
(
self
)
cubicTo
(
self
, QPointF, QPointF, QPointF)
cubicTo
(
self
, float, float, float, float, float, float)
QPointF
currentPosition
(
self
)
Element
elementAt
(
self
, int)
int
elementCount
(
self
)
Qt.FillRule
fillRule
(
self
)
QPainterPath
intersected
(
self
, QPainterPath)
bool
intersects
(
self
, QRectF)
bool
intersects
(
self
, QPainterPath)
bool
isEmpty
(
self
)
float
length
(
self
)
lineTo
(
self
, QPointF)
lineTo
(
self
, float, float)
moveTo
(
self
, QPointF)
moveTo
(
self
, float, float)
float
percentAtLength
(
self
, float)
QPointF
pointAtPercent
(
self
, float)
quadTo
(
self
, QPointF, QPointF)
quadTo
(
self
, float, float, float, float)
setElementPositionAt
(
self
, int, float, float)
setFillRule
(
self
, Qt.FillRule)
QPainterPath
simplified
(
self
)
float
slopeAtPercent
(
self
, float)
QPainterPath
subtracted
(
self
, QPainterPath)
QPainterPath
subtractedInverted
(
self
, QPainterPath)
QPolygonF
toFillPolygon
(
self
, QMatrix
matrix
= QMatrix())
QPolygonF
toFillPolygon
(
self
, QTransform)
list-of-QPolygonF
toFillPolygons
(
self
, QMatrix
matrix
= QMatrix())
list-of-QPolygonF
toFillPolygons
(
self
, QTransform)
QPainterPath
toReversed
(
self
)
list-of-QPolygonF
toSubpathPolygons
(
self
, QMatrix
matrix
= QMatrix())
list-of-QPolygonF
toSubpathPolygons
(
self
, QTransform)
translate
(
self
, float, float)
translate
(
self
, QPointF)
QPainterPath
translated
(
self
, float, float)
QPainterPath
translated
(
self
, QPointF)
QPainterPath
united
(
self
, QPainterPath)
Special Methods
QPainterPath
__add__
(
self
, QPainterPath)
QPainterPath
__and__
(
self
, QPainterPath)
bool
__eq__
(
self
, QPainterPath)
QPainterPath
__iadd__
(
self
, QPainterPath)
QPainterPath
__iand__
(
self
, QPainterPath)
QPainterPath
__ior__
(
self
, QPainterPath)
QPainterPath
__isub__
(
self
, QPainterPath)
QPainterPath
__mul__
(
self
, QMatrix)
QPainterPath
__mul__
(
self
, QTransform)
bool
__ne__
(
self
, QPainterPath)
QPainterPath
__or__
(
self
, QPainterPath)
QPainterPath
__sub__
(
self
, QPainterPath)
Detailed Description
Type Documentation
QPainterPath.ElementType
Method Documentation
QPainterPath.__init__ (
self
)
QPainterPath.__init__ (
self
,
QPointF
)
QPainterPath.__init__ (
self
,
QPainterPath
)
QPainterPath.addEllipse (
self
,
QRectF
)
QPainterPath.addEllipse (
self
, float, float, float, float)
QPainterPath.addEllipse (
self
,
QPointF
, float, float)
QPainterPath.addPath (
self
,
QPainterPath
)
QPainterPath.addPolygon (
self
,
QPolygonF
)
QPainterPath.addRect (
self
,
QRectF
)
QPainterPath.addRect (
self
, float, float, float, float)
QPainterPath.addRegion (
self
,
QRegion
)
QPainterPath.addRoundedRect (
self
,
QRectF
, float, float,
Qt.SizeMode
mode
= Qt.AbsoluteSize)
QPainterPath.addRoundedRect (
self
, float, float, float, float, float, float,
Qt.SizeMode
mode
= Qt.AbsoluteSize)
QPainterPath.addRoundRect (
self
,
QRectF
, int, int)
QPainterPath.addRoundRect (
self
, float, float, float, float, int, int)
QPainterPath.addRoundRect (
self
,
QRectF
, int)
QPainterPath.addRoundRect (
self
, float, float, float, float, int)
QPainterPath.addText (
self
,
QPointF
,
QFont
, QString)
QPainterPath.addText (
self
, float, float,
QFont
, QString)
float QPainterPath.angleAtPercent (
self
, float)
QPainterPath.arcMoveTo (
self
,
QRectF
, float)
QPainterPath.arcMoveTo (
self
, float, float, float, float, float)
QPainterPath.arcTo (
self
,
QRectF
, float, float)
QPainterPath.arcTo (
self
, float, float, float, float, float, float)
QRectF
QPainterPath.boundingRect (
self
)
QPainterPath.closeSubpath (
self
)
QPainterPath.connectPath (
self
,
QPainterPath
)
bool QPainterPath.contains (
self
,
QPointF
)
bool QPainterPath.contains (
self
,
QRectF
)
bool QPainterPath.contains (
self
,
QPainterPath
)
QRectF
QPainterPath.controlPointRect (
self
)
QPainterPath.cubicTo (
self
,
QPointF
,
QPointF
,
QPointF
)
QPainterPath.cubicTo (
self
, float, float, float, float, float, float)
QPointF
QPainterPath.currentPosition (
self
)
Element
QPainterPath.elementAt (
self
, int)
int QPainterPath.elementCount (
self
)
Qt.FillRule
QPainterPath.fillRule (
self
)
QPainterPath
QPainterPath.intersected (
self
,
QPainterPath
)
bool QPainterPath.intersects (
self
,
QRectF
)
bool QPainterPath.intersects (
self
,
QPainterPath
)
bool QPainterPath.isEmpty (
self
)
float QPainterPath.length (
self
)
QPainterPath.lineTo (
self
,
QPointF
)
QPainterPath.lineTo (
self
, float, float)
QPainterPath.moveTo (
self
,
QPointF
)
QPainterPath.moveTo (
self
, float, float)
float QPainterPath.percentAtLength (
self
, float)
QPointF
QPainterPath.pointAtPercent (
self
, float)
QPainterPath.quadTo (
self
,
QPointF
,
QPointF
)
QPainterPath.quadTo (
self
, float, float, float, float)
QPainterPath.setElementPositionAt (
self
, int, float, float)
QPainterPath.setFillRule (
self
,
Qt.FillRule
)
QPainterPath
QPainterPath.simplified (
self
)
float QPainterPath.slopeAtPercent (
self
, float)
QPainterPath
QPainterPath.subtracted (
self
,
QPainterPath
)
QPainterPath
QPainterPath.subtractedInverted (
self
,
QPainterPath
)
QPolygonF
QPainterPath.toFillPolygon (
self
,
QMatrix
matrix
= QMatrix())
QPolygonF
QPainterPath.toFillPolygon (
self
,
QTransform
)
list-of-QPolygonF QPainterPath.toFillPolygons (
self
,
QMatrix
matrix
= QMatrix())
list-of-QPolygonF QPainterPath.toFillPolygons (
self
,
QTransform
)
QPainterPath
QPainterPath.toReversed (
self
)
list-of-QPolygonF QPainterPath.toSubpathPolygons (
self
,
QMatrix
matrix
= QMatrix())
list-of-QPolygonF QPainterPath.toSubpathPolygons (
self
,
QTransform
)
QPainterPath.translate (
self
, float, float)
QPainterPath.translate (
self
,
QPointF
)
QPainterPath
QPainterPath.translated (
self
, float, float)
QPainterPath
QPainterPath.translated (
self
,
QPointF
)
QPainterPath
QPainterPath.united (
self
,
QPainterPath
)
QPainterPath
QPainterPath.__add__ (
self
,
QPainterPath
)
QPainterPath
QPainterPath.__and__ (
self
,
QPainterPath
)
bool QPainterPath.__eq__ (
self
,
QPainterPath
)
QPainterPath
QPainterPath.__iadd__ (
self
,
QPainterPath
)
QPainterPath
QPainterPath.__iand__ (
self
,
QPainterPath
)
QPainterPath
QPainterPath.__ior__ (
self
,
QPainterPath
)
QPainterPath
QPainterPath.__isub__ (
self
,
QPainterPath
)
QPainterPath
QPainterPath.__mul__ (
self
,
QMatrix
)
QPainterPath
QPainterPath.__mul__ (
self
,
QTransform
)
bool QPainterPath.__ne__ (
self
,
QPainterPath
)
QPainterPath
QPainterPath.__or__ (
self
,
QPainterPath
)
QPainterPath
QPainterPath.__sub__ (
self
,
QPainterPath
)
PyQt 4.8 for X11
Copyright ©
Riverbank Computing Ltd
and
Nokia
2010
Qt 4.7.0