- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QPointF>
,Collection<QPointF>
,List<QPointF>
public class QPolygonF extends QVector<QPointF> implements Cloneable
Vector of points using floating point precision
Java wrapper for Qt class QPolygonF
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
append(double x, double y)
QRectF
boundingRect()
QPolygonF
clone()
boolean
containsPoint(QPointF pt, Qt.FillRule fillRule)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
QPolygonF
intersected(QPolygonF r)
boolean
intersects(QPolygonF r)
boolean
isClosed()
void
readFrom(QDataStream stream)
QPolygonF
subtracted(QPolygonF r)
void
swap(QPolygonF other)
QPolygon
toPolygon()
String
toString()
void
translate(double dx, double dy)
void
translate(QPointF offset)
QPolygonF
translated(double dx, double dy)
QPolygonF
translated(QPointF offset)
QPolygonF
united(QPolygonF r)
void
writeTo(QDataStream stream)
Methods inherited from class io.qt.core.QVector
add, add, append, append, at, begin, capacity, clear, contains, count, count, createVariantVector, end, endsWith, 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.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 java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.List
containsAll, iterator, removeAll, replaceAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
Method Details
-
boundingRect
-
containsPoint
-
intersected
-
intersects
-
isClosed
-
writeTo
-
readFrom
-
subtracted
-
swap
-
toPolygon
-
translate
-
translate
-
translated
-
translated
-
united
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
append
-
toString
- Overrides:
toString
in classQtJambiCollectionObject<QPointF>
-
clone
-