- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QPointF>
,Collection<QPointF>
,List<QPointF>
public class QPolygonF extends QList<QPointF> implements Cloneable
List of points using floating point precision
Java wrapper for Qt class QPolygonF
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QPolygonF()
QPolygonF(QRectF r)
QPolygonF(QPolygon a)
protected
QPolygonF(QtObject.QPrivateConstructor p)
Constructor for internal use only.QPolygonF(Collection<QPointF> v)
-
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.QList
add, add, append, append, at, begin, capacity, clear, contains, count, count, createVariantList, 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, 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 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
-