QPolygon Class Reference
[QtGui module]
Methods
- __init__ (self)
- __init__ (self, QPolygon)
- __init__ (self, list-of-QPoint)
- __init__ (self, QRect, bool closed = False)
- __init__ (self, int)
- __init__ (self, list-of-int points)
- __init__ (self, QVariant variant)
- append (self, QPoint value)
- QPoint at (self, int i)
- QRect boundingRect (self)
- clear (self)
- bool contains (self, QPoint value)
- bool containsPoint (self, QPoint, Qt.FillRule)
- int count (self, QPoint value)
- int count (self)
- sip.voidptr data (self)
- fill (self, QPoint value, int size = -1)
- QPoint first (self)
- int indexOf (self, QPoint value, int from = 0)
- insert (self, int i, QPoint value)
- QPolygon intersected (self, QPolygon)
- bool isEmpty (self)
- QPoint last (self)
- int lastIndexOf (self, QPoint value, int from = -1)
- QPolygon mid (self, int pos, int length = -1)
- QPoint point (self, int)
- prepend (self, QPoint value)
- putPoints (self, int index, int firstx, int firsty, ...)
- putPoints (self, int, int, QPolygon, int from = 0)
- remove (self, int i)
- remove (self, int i, int count)
- replace (self, int i, QPoint value)
- setPoint (self, int, QPoint)
- setPoint (self, int, int, int)
- setPoints (self, list-of-int points)
- setPoints (self, int firstx, int firsty, ...)
- int size (self)
- QPolygon subtracted (self, QPolygon)
- translate (self, int, int)
- translate (self, QPoint)
- QPolygon translated (self, int, int)
- QPolygon translated (self, QPoint)
- QPolygon united (self, QPolygon)
- QPoint value (self, int i)
- QPoint value (self, int i, QPoint defaultValue)
Special Methods
- QPolygon __add__ (self, QPolygon other)
- int __contains__ (self, QPoint value)
- __delitem__ (self, int i)
- __delitem__ (self, slice slice)
- bool __eq__ (self, QPolygon other)
- QPoint __getitem__ (self, int i)
- QPolygon __getitem__ (self, slice slice)
- QPolygon __iadd__ (self, QPolygon other)
- QPolygon __iadd__ (self, QPoint value)
- __len__ (self)
- object __lshift__ (self, QPoint value)
- QPolygon __mul__ (self, QMatrix)
- QPolygon __mul__ (self, QTransform)
- bool __ne__ (self, QPolygon other)
- __setitem__ (self, int i, QPoint value)
- __setitem__ (self, slice slice, QPolygon list)
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)
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.translate (self, int, int)
QPolygon.translate (self, QPoint)
QPolygon QPolygon.translated (self, int, int)
QPolygon QPolygon.translated (self, QPoint)
QPoint QPolygon.value (self, int i)
QPoint QPolygon.value (self, int i, QPoint defaultValue)
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)
bool QPolygon.__ne__ (self, QPolygon other)
QPolygon.__setitem__ (self, int i, QPoint value)
QPolygon.__setitem__ (self, slice slice, QPolygon list)