- All Implemented Interfaces:
QtObjectInterface,Cloneable,Iterable<QPoint>,Collection<QPoint>,List<QPoint>
List of points using integer precision
Java wrapper for Qt's class QList
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQPolygon()Overloaded constructor forQPolygon(io.qt.core.QRect, boolean)withclosed = false.protectedConstructor for internal use only.QPolygon(Collection<? extends QPoint> v) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidappend(int x, int y) final QRectclone()final booleancontainsPoint(QPoint pt, Qt.FillRule fillRule) inthashCode()final QPolygonfinal booleanvoidreadFrom(QDataStream stream) final QPolygonfinal voidtoString()final voidtranslate(int dx, int dy) final voidfinal QPolygontranslated(int dx, int dy) final QPolygontranslated(QPoint offset) final QPolygonvoidwriteTo(QDataStream stream) Methods inherited from class io.qt.core.QList
add, add, append, append, at, begin, capacity, clear, contains, count, count, createVariantList, end, endsWith, equals, fill, fill, first, get, indexOf, indexOf, insert, insert, isEmpty, last, lastIndexOf, lastIndexOf, length, mid, mid, move, of, of, prepend, remove, remove, removeAll, removeAt, removeAtIndex, removeFirst, removeLast, removeOne, replace, reserve, resize, set, size, squeeze, startsWith, swapItemsAt, takeAt, takeFirst, takeLast, value, valueMethods inherited from class io.qt.internal.QtJambiListObject
addAll, addAll, listIterator, listIterator, remove, retainAll, subListMethods inherited from class io.qt.internal.QtJambiCollectionObject
containsAll, descendingIterator, iterator, removeAll, toArray, toArrayMethods inherited from class io.qt.QtObject
dispose, isDisposedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
containsAll, iterator, removeAll, replaceAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
QPolygon
public QPolygon() -
QPolygon
-
QPolygon
Overloaded constructor for
QPolygon(io.qt.core.QRect, boolean)withclosed = false. -
QPolygon
-
QPolygon
Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
boundingRect
-
containsPoint
-
intersected
-
intersects
-
writeTo
-
readFrom
-
subtracted
-
swap
-
translate
-
translate
-
translated
-
translated
-
united
-
hashCode
-
append
-
toString
-
clone
-