- 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
ModifierConstructorDescriptionQPolygon()
Overloaded constructor forQPolygon(io.qt.core.QRect, boolean)
withclosed = false
.protected
Constructor for internal use only.QPolygon
(Collection<? extends QPoint> v) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
append
(int x, int y) final QRect
clone()
final boolean
containsPoint
(QPoint pt, Qt.FillRule fillRule) int
hashCode()
final QPolygon
final boolean
void
readFrom
(QDataStream stream) final QPolygon
final void
final QPolygonF
toString()
final void
translate
(int dx, int dy) final void
final QPolygon
translated
(int dx, int dy) final QPolygon
translated
(QPoint offset) final QPolygon
void
writeTo
(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, value
Methods inherited from class io.qt.internal.QtJambiListObject
addAll, addAll, listIterator, listIterator, remove, retainAll, subList
Methods inherited from class io.qt.internal.QtJambiCollectionObject
containsAll, descendingIterator, iterator, removeAll, toArray, toArray
Methods inherited from class io.qt.QtObject
dispose, isDisposed
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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
-
toPolygonF
-
translate
-
translate
-
translated
-
translated
-
united
-
hashCode
-
append
-
toString
-
clone
-