- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QPointF>
,Collection<QPointF>
,List<QPointF>
Vector of points using floating point precision
Java wrapper for Qt's class QVector
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQPolygonF
(int size) protected
Constructor for internal use only.QPolygonF
(Collection<? extends QPointF> v) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
append
(double x, double y) final QRectF
clone()
final boolean
containsPoint
(QPointF pt, Qt.FillRule fillRule) int
hashCode()
final QPolygonF
final boolean
final boolean
isClosed()
void
readFrom
(QDataStream stream) final QPolygonF
final void
final QPolygon
toString()
final void
translate
(double dx, double dy) final void
final QPolygonF
translated
(double dx, double dy) final QPolygonF
translated
(QPointF offset) final QPolygonF
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
-
QPolygonF
public QPolygonF() -
QPolygonF
-
QPolygonF
-
QPolygonF
-
QPolygonF
-
QPolygonF
public QPolygonF(int size) -
QPolygonF
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
boundingRect
-
containsPoint
-
intersected
-
intersects
-
isClosed
-
writeTo
-
readFrom
-
subtracted
-
swap
-
toPolygon
-
translate
-
translate
-
translated
-
translated
-
united
-
hashCode
-
append
-
toString
-
clone
-