Home · All Classes · Modules

QPolygon Class Reference
[QtGui module]

Methods

Special Methods


Detailed Description

This class can be pickled.


Method Documentation

QPolygon.__init__ (self)

QPolygon.__init__ (self, QPolygon)

QPolygon.__init__ (self, list-of-QPoint)

QPolygon.__init__ (self, QRect, bool closed = False)

QPolygon.__init__ (self, int)

QPolygon.__init__ (self, list-of-int points)

QPolygon.__init__ (self, QVariant variant)

QPolygon.append (self, QPoint value)

QPoint QPolygon.at (self, int i)

QRect QPolygon.boundingRect (self)

QPolygon.clear (self)

bool QPolygon.contains (self, QPoint value)

bool QPolygon.containsPoint (self, QPoint, Qt.FillRule)

int QPolygon.count (self, QPoint value)

int QPolygon.count (self)

sip.voidptr QPolygon.data (self)

QPolygon.fill (self, QPoint value, int size = -1)

QPoint QPolygon.first (self)

int QPolygon.indexOf (self, QPoint value, int from = 0)

QPolygon.insert (self, int i, QPoint value)

QPolygon QPolygon.intersected (self, QPolygon)

bool QPolygon.isEmpty (self)

QPoint QPolygon.last (self)

int QPolygon.lastIndexOf (self, QPoint value, int from = -1)

QPolygon QPolygon.mid (self, int pos, int length = -1)

QPoint QPolygon.point (self, int)

QPolygon.prepend (self, QPoint value)

QPolygon.putPoints (self, int index, int firstx, int firsty, ...)

QPolygon.putPoints (self, int, int, QPolygon, int from = 0)

QPolygon.remove (self, int i)

QPolygon.remove (self, int i, int count)

QPolygon.replace (self, int i, QPoint value)

QPolygon.setPoint (self, int, QPoint)

QPolygon.setPoint (self, int, int, int)

QPolygon.setPoints (self, list-of-int points)

QPolygon.setPoints (self, int firstx, int firsty, ...)

int QPolygon.size (self)

QPolygon QPolygon.subtracted (self, QPolygon)

QPolygon.translate (self, int, int)

QPolygon.translate (self, QPoint)

QPolygon QPolygon.translated (self, int, int)

QPolygon QPolygon.translated (self, QPoint)

QPolygon QPolygon.united (self, QPolygon)

QPoint QPolygon.value (self, int i)

QPoint QPolygon.value (self, int i, QPoint defaultValue)

QPolygon QPolygon.__add__ (self, QPolygon other)

int QPolygon.__contains__ (self, QPoint value)

QPolygon.__delitem__ (self, int i)

QPolygon.__delitem__ (self, slice slice)

bool QPolygon.__eq__ (self, QPolygon other)

QPoint QPolygon.__getitem__ (self, int i)

QPolygon QPolygon.__getitem__ (self, slice slice)

QPolygon QPolygon.__iadd__ (self, QPolygon other)

QPolygon QPolygon.__iadd__ (self, QPoint value)

QPolygon.__len__ (self)

object QPolygon.__lshift__ (self, QPoint value)

QPolygon QPolygon.__mul__ (self, QMatrix)

QPolygon QPolygon.__mul__ (self, QTransform)

bool QPolygon.__ne__ (self, QPolygon other)

QPolygon.__setitem__ (self, int i, QPoint value)

QPolygon.__setitem__ (self, slice slice, QPolygon list)


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0