java.lang.Object
io.qt.QtObject
io.qt.internal.AbstractSequentialContainer<E>
io.qt.internal.AbstractList<T>
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QPoint>
,Collection<QPoint>
,List<QPoint>
Vector of points using integer precision
Java wrapper for Qt's class QPolygon
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQPolygon()
QPolygon
(int size) Overloaded constructor forQPolygon(io.qt.core.QRect, boolean)
withclosed = false
.QPolygon
(Collection<? extends QPoint> v) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
append
(int x, int y) final void
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 QPolygon
times
(QTransform m) 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.QVector
add, add, append, append, at, begin, capacity, clear, constBegin, constEnd, contains, count, count, createVariantVector, end, endsWith, equals, fill, fill, first, get, indexOf, indexOf, insert, insert, isEmpty, last, lastIndexOf, lastIndexOf, length, mid, mid, move, of, prepend, remove, remove, removeAll, removeAt, removeAtIndex, removeFirst, removeLast, removeOne, replace, reserve, resize, set, size, squeeze, startsWith, takeAt, takeFirst, takeLast, toSet, value, value
Methods inherited from class io.qt.internal.AbstractList
addAll, addAll, listIterator, listIterator, remove, retainAll, subList
Methods inherited from class io.qt.internal.AbstractSequentialContainer
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
-
QPolygon
public QPolygon(int size) -
QPolygon
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
boundingRect
-
containsPoint
-
intersected
-
intersects
-
times
-
writeTo
-
assign
-
readFrom
-
subtracted
-
swap
-
translate
-
translate
-
translated
-
translated
-
united
-
hashCode
-
append
-
toString
-
clone
-