- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QPointF>
,Collection<QPointF>
,List<QPointF>
public class QPolygonF extends QtJambiVectorObject<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
add(int index, QPointF e)
boolean
add(QPointF e)
void
append(double x, double y)
void
append(QPointF t)
void
append(Collection<QPointF> l)
QPointF
at(int i)
protected QIterator<QPointF>
begin()
QRectF
boundingRect()
int
capacity()
void
clear()
QPolygonF
clone()
boolean
contains(QPointF t)
boolean
contains(Object e)
boolean
containsPoint(QPointF pt, Qt.FillRule fillRule)
int
count()
int
count(QPointF t)
void
detach()
protected QIterator<QPointF>
end()
boolean
endsWith(QPointF t)
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.void
fill(QPointF t)
Overloaded function forfill(io.qt.core.QPointF, int)
withsize = -1
.void
fill(QPointF t, int size)
QPointF
first()
QPointF
get(int index)
int
hashCode()
int
indexOf(QPointF t)
Overloaded function forindexOf(io.qt.core.QPointF, int)
withfrom = 0
.int
indexOf(QPointF t, int from)
int
indexOf(Object e)
void
insert(int i, int n, QPointF t)
protected void
insert(int i, QPointF t)
QPolygonF
intersected(QPolygonF r)
boolean
intersects(QPolygonF r)
boolean
isClosed()
boolean
isDetached()
boolean
isEmpty()
boolean
isSharedWith(Collection<QPointF> other)
QPointF
last()
int
lastIndexOf(QPointF t)
Overloaded function forlastIndexOf(io.qt.core.QPointF, int)
withfrom = -1
.int
lastIndexOf(QPointF t, int from)
int
lastIndexOf(Object e)
int
length()
List<QPointF>
mid(int pos)
Overloaded function formid(int, int)
withlen = -1
.List<QPointF>
mid(int pos, int len)
void
move(int from, int to)
void
prepend(QPointF t)
void
readFrom(QDataStream stream)
void
remove(int i, int n)
boolean
remove(Object e)
int
removeAll(QPointF t)
void
removeAt(int i)
void
removeFirst()
void
removeLast()
boolean
removeOne(QPointF t)
void
replace(int i, QPointF t)
void
reserve(int size)
void
resize(int size)
QPointF
set(int index, QPointF e)
void
setSharable(boolean sharable)
void
shrink_to_fit()
int
size()
void
squeeze()
boolean
startsWith(QPointF t)
QPolygonF
subtracted(QPolygonF r)
void
swap(QPolygonF other)
void
swapItemsAt(int i, int j)
QPointF
takeAt(int i)
QPointF
takeFirst()
QPointF
takeLast()
List<QPointF>
toList()
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)
QPointF
value(int i)
QPointF
value(int i, QPointF defaultValue)
void
writeTo(QDataStream stream)
Methods inherited from class io.qt.internal.QtJambiAbstractListObject
addAll, addAll, listIterator, listIterator, remove, subList
Methods inherited from class io.qt.internal.QtJambiCollectionObject
castElement, checkElement, containsAll, iterator, removeAll, retainAll, 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, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
Method Details
-
append
-
append
- Specified by:
append
in classQtJambiAbstractListObject<QPointF>
-
at
-
begin
- Specified by:
begin
in classQtJambiCollectionObject<QPointF>
-
boundingRect
-
capacity
-
clear
-
contains
-
containsPoint
-
count
-
count
-
detach
-
end
- Specified by:
end
in classQtJambiCollectionObject<QPointF>
-
endsWith
-
fill
Overloaded function for
fill(io.qt.core.QPointF, int)
withsize = -1
. -
fill
-
first
-
indexOf
Overloaded function for
indexOf(io.qt.core.QPointF, int)
withfrom = 0
. -
indexOf
-
insert
-
insert
-
intersected
-
intersects
-
isClosed
-
isDetached
-
isEmpty
-
isSharedWith
-
last
-
lastIndexOf
Overloaded function for
lastIndexOf(io.qt.core.QPointF, int)
withfrom = -1
. -
lastIndexOf
-
length
-
mid
Overloaded function for
mid(int, int)
withlen = -1
. -
mid
-
move
-
writeTo
-
readFrom
-
prepend
-
remove
-
removeAll
-
removeAt
- Specified by:
removeAt
in classQtJambiAbstractListObject<QPointF>
-
removeFirst
-
removeLast
-
removeOne
-
replace
-
reserve
-
resize
-
setSharable
-
shrink_to_fit
-
size
-
squeeze
-
startsWith
-
subtracted
-
swap
-
swapItemsAt
-
takeAt
-
takeFirst
-
takeLast
-
toList
-
toPolygon
-
translate
-
translate
-
translated
-
translated
-
united
-
value
-
value
-
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
public int hashCode() -
append
-
toString
- Overrides:
toString
in classQtJambiCollectionObject<QPointF>
-
clone
-
add
-
add
-
set
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<QPointF>
-
get
-
contains
-