- All Implemented Interfaces:
QtObjectInterface,Cloneable,Iterable<QPointF>,Collection<QPointF>,List<QPointF>,SequencedCollection<QPointF>
List of points using floating point precision
Java wrapper for Qt class QPolygonF
-
Constructor Summary
ConstructorsConstructorDescriptionOverloaded constructor forQPolygonF(io.qt.core.QRectF).SeeQPolygonF::QPolygonF(QPolygonF) QPolygonF(Collection<? extends QPointF> v) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanaddAll(int index, Collection<? extends QPointF> c) Inserts all of the elements in the specified collection into this list at the specified position.final booleanaddAll(Collection<? extends QPointF> c) Appends all of the elements in the specified collection to the end of this list.final voidappend(double x, double y) final QRectFclone()Creates and returns a copy of this object.final booleancontainsAll(Collection<?> c) Returnstrueif this container contains all of the elements in the specified collection.final booleancontainsPoint(QPointF pt, Qt.FillRule fillRule) final booleancontainsPoint(QPoint pt, Qt.FillRule fillRule) Overloaded function forcontainsPoint(io.qt.core.QPointF, io.qt.core.Qt.FillRule).inthashCode()Returns the objects's hash code computed byqHash(QPolygonF).final QPolygonFfinal booleanfinal booleanisClosed()iterator()Returns an iterator over elements of typeT.final ListIterator<QPointF> Returns a list iterator over the elements in this list (in proper sequence).final ListIterator<QPointF> listIterator(int index) Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list.voidreadFrom(QDataStream stream) final QPointFremove(int index) Removes the element at the specified position in this list.final booleanremoveAll(Collection<?> c) Removes all of this container elements that are also contained in the specified collection.final booleanretainAll(Collection<?> c) Retains only the elements in this list that are contained in the specified collection (optional operation).subList(int fromIndex, int toIndex) Returns a view of the portion of this list between the specifiedfromIndex, inclusive, andtoIndex, exclusive.final QPolygonFfinal voidfinal QPolygonFtimes(QTransform m) Seeoperator*(QPolygonF,QTransform) final Object[]toArray()Returns an array containing all of the elements in this container.final <A> A[]toArray(A[] a) Returns an array containing all of the elements in this container.final QPolygontoString()Seeoperator<<(QDebug,QPolygonF) final voidtranslate(double dx, double dy) final voidOverloaded function fortranslate(io.qt.core.QPointF).final voidfinal QPolygonFtranslated(double dx, double dy) final QPolygonFtranslated(QPoint offset) Overloaded function fortranslated(io.qt.core.QPointF).final QPolygonFtranslated(QPointF offset) final QPolygonFvoidwriteTo(QDataStream stream) Methods inherited from class io.qt.core.QList
add, add, append, append, at, begin, capacity, clear, constBegin, constEnd, contains, count, count, createVariantList, 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, removeFirst, removeIf, removeLast, removeOne, replace, reserve, resize, set, size, squeeze, startsWith, swapItemsAt, takeAt, takeFirst, takeLast, value, valueMethods inherited from class io.qt.QtObject
dispose, isDisposedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, containsAll, getFirst, getLast, iterator, removeAll, replaceAll, reversed, sort, spliterator, toArray, toArray
-
Constructor Details
-
QPolygonF
public QPolygonF() -
QPolygonF
-
QPolygonF
-
QPolygonF
See
QPolygonF::QPolygonF(QPolygonF) -
QPolygonF
-
QPolygonF
Overloaded constructor for
QPolygonF(io.qt.core.QRectF).
-
-
Method Details
-
boundingRect
-
containsPoint
-
intersected
-
intersects
-
isClosed
-
times
See
operator*(QPolygonF,QTransform) -
writeTo
-
readFrom
-
subtracted
-
swap
-
toPolygon
-
translate
-
translate
-
translated
-
translated
-
united
-
hashCode
Returns the objects's hash code computed byqHash(QPolygonF). -
append
-
toString
See
operator<<(QDebug,QPolygonF) -
clone
Creates and returns a copy of this object.
See
QPolygonF::QPolygonF(QPolygonF) -
containsPoint
Overloaded function for
containsPoint(io.qt.core.QPointF, io.qt.core.Qt.FillRule). -
translate
Overloaded function for
translate(io.qt.core.QPointF). -
translated
Overloaded function for
translated(io.qt.core.QPointF). -
addAll
Appends all of the elements in the specified collection to the end of this list.- Specified by:
addAllin interfaceCollection<T>- Specified by:
addAllin interfaceList<T>
-
addAll
Inserts all of the elements in the specified collection into this list at the specified position. -
remove
Removes the element at the specified position in this list. -
listIterator
Returns a list iterator over the elements in this list (in proper sequence).- Specified by:
listIteratorin interfaceList<T>
-
listIterator
Returns a list iterator over the elements in this list (in proper sequence), starting at the specified position in the list.- Specified by:
listIteratorin interfaceList<T>
-
subList
Returns a view of the portion of this list between the specifiedfromIndex, inclusive, andtoIndex, exclusive. (IffromIndexandtoIndexare equal, the returned list is empty.) The returned list is backed by this list, so non-structural changes in the returned list are reflected in this list, and vice-versa. The returned list supports all of the optional list operations supported by this list. -
retainAll
Retains only the elements in this list that are contained in the specified collection (optional operation). In other words, removes from this list all of its elements that are not contained in the specified collection.- Specified by:
retainAllin interfaceCollection<T>- Specified by:
retainAllin interfaceList<T>
-
toArray
Returns an array containing all of the elements in this container.- Specified by:
toArrayin interfaceCollection<T>
-
toArray
Returns an array containing all of the elements in this container.- Specified by:
toArrayin interfaceCollection<T>
-
containsAll
Returnstrueif this container contains all of the elements in the specified collection.- Specified by:
containsAllin interfaceCollection<T>
-
removeAll
Removes all of this container elements that are also contained in the specified collection.- Specified by:
removeAllin interfaceCollection<T>
-
iterator
Returns an iterator over elements of typeT.- Specified by:
iteratorin interfaceCollection<T>- Specified by:
iteratorin interfaceIterable<T>- Returns:
- an Iterator
-