Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2163

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QPolygonF" doc="/**
&lt;p&gt;The &lt;a href=&quot;QPolygonF.html#QPolygonF(com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;QPolygonF&lt;/tt&gt;&lt;/a&gt; class provides a vector of points using floating point precision.&lt;/p&gt;
&lt;p&gt;A &lt;a href=&quot;QPolygonF.html#QPolygonF(com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;QPolygonF&lt;/tt&gt;&lt;/a&gt; is a QVector&amp;lt;&lt;a href=&quot;%2E%2E/core/QPointF.html&quot;&gt;&lt;tt&gt;QPointF&lt;/tt&gt;&lt;/a&gt;&amp;gt;. The easiest way to add points to a &lt;a href=&quot;QPolygonF.html#QPolygonF(com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;QPolygonF&lt;/tt&gt;&lt;/a&gt; is to use its streaming operator, as illustrated below:&lt;/p&gt;
&lt;pre&gt;            QPolygonF polygon;
            polygon &amp;lt;&amp;lt; QPointF(10.4, 20.5) &amp;lt;&amp;lt; QPointF(20.2, 30.2);&lt;/pre&gt;
&lt;p&gt;In addition to the functions provided by QVector, &lt;a href=&quot;QPolygonF.html#QPolygonF(com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;QPolygonF&lt;/tt&gt;&lt;/a&gt; provides the &lt;a href=&quot;QPolygonF.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QPolygonF.html#translate(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;translate&lt;/tt&gt;&lt;/a&gt; functions for geometry operations. Use the QMatrix::map() function for more general transformations of QPolygonFs.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QPolygonF.html#QPolygonF(com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;QPolygonF&lt;/tt&gt;&lt;/a&gt; also provides the &lt;a href=&quot;QPolygonF.html#isClosed()&quot;&gt;&lt;tt&gt;isClosed&lt;/tt&gt;&lt;/a&gt; function to determine whether a polygon's start and end points are the same, and the &lt;a href=&quot;QPolygonF.html#toPolygon()&quot;&gt;&lt;tt&gt;toPolygon&lt;/tt&gt;&lt;/a&gt; function returning an integer precision copy of this polygon.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QPolygonF.html#QPolygonF(com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;QPolygonF&lt;/tt&gt;&lt;/a&gt; class is implicitly shared&lt;/tt&gt;.&lt;/p&gt;

@see &lt;tt&gt;QVector&lt;/tt&gt;
@see &lt;a href=&quot;QPolygon.html&quot;&gt;&lt;tt&gt;QPolygon&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QLineF.html&quot;&gt;&lt;tt&gt;QLineF&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QPolygonF(com.trolltech.qt.gui.QPolygon a)" doc="/**
&lt;p&gt;Constructs a float based polygon from the specified integer based &lt;tt&gt;a&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#toPolygon()&quot;&gt;&lt;tt&gt;toPolygon&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QPolygonF(java.util.List&lt;com.trolltech.qt.core.QPointF&gt; v)" doc="/**
&lt;p&gt;Constructs a polygon containing the specified &lt;tt&gt;v&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QPolygonF(int size)" doc="/**
&lt;p&gt;Constructs a polygon of the given &lt;tt&gt;size&lt;/tt&gt;. Creates an empty polygon if &lt;tt&gt;size&lt;/tt&gt; == 0.&lt;/p&gt;

@see &lt;tt&gt;QVector::isEmpty&lt;/tt&gt; */"/>
    <method name="public QPolygonF()" doc="/**
&lt;p&gt;Constructs a polygon with no points.&lt;/p&gt;

@see &lt;tt&gt;QVector::isEmpty&lt;/tt&gt; */"/>
    <method name="public QPolygonF(com.trolltech.qt.core.QRectF r)" doc="/**
&lt;p&gt;Constructs a closed polygon from the specified &lt;tt&gt;r&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The polygon contains the four vertices of the rectangle in clockwise order starting and ending with the top-left vertex.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#isClosed()&quot;&gt;&lt;tt&gt;isClosed&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QPolygonF(com.trolltech.qt.gui.QPolygonF a)" doc="/**
&lt;p&gt;Constructs a copy of the given &lt;tt&gt;a&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void append(com.trolltech.qt.core.QPointF t)" doc="/**
&lt;p&gt;Inserts &lt;tt&gt;t&lt;/tt&gt; at the end of the vector.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;    QVector&amp;lt;QString&amp;gt; vector(0);
    vector.append(&amp;quot;one&amp;quot;);
    vector.append(&amp;quot;two&amp;quot;);
    vector.append(&amp;quot;three&amp;quot;);
&lt;span class=&quot;comment&quot;&gt;    // vector: [&amp;quot;one&amp;quot;, &amp;quot;two&amp;quot;, three&amp;quot;]&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;This is the same as calling resize(&lt;a href=&quot;QPolygonF.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt; + 1) and assigning &lt;tt&gt;t&lt;/tt&gt; to the new last element in the vector.&lt;/p&gt;
&lt;p&gt;This operation is relatively fast, because QVector typically allocates more memory than necessary, so it can grow without reallocating the entire vector each time.&lt;/p&gt;

@see &lt;tt&gt;operator&amp;lt;&amp;lt;&lt;/tt&gt;
@see &lt;a href=&quot;QPolygonF.html#prepend(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;prepend&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;insert&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF at(int i)" doc="/**
&lt;p&gt;Returns the item at index position &lt;tt&gt;i&lt;/tt&gt; in the vector.&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;i&lt;/tt&gt; must be a valid index position in the vector (i.e&amp;#x2e;, 0 &amp;lt;= &lt;tt&gt;i&lt;/tt&gt; &amp;lt; &lt;a href=&quot;QPolygonF.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#value(int)&quot;&gt;&lt;tt&gt;value&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;operator[]&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRectF boundingRect()" doc="/**
&lt;p&gt;Returns the bounding rectangle of the polygon, or &lt;a href=&quot;%2E%2E/core/QRectF.html&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;(0,0,0,0) if the polygon is empty.&lt;/p&gt;

@see &lt;tt&gt;QVector::isEmpty&lt;/tt&gt; */"/>
    <method name="public final int capacity()" doc="/**
&lt;p&gt;Returns the maximum number of items that can be stored in the vector without forcing a reallocation.&lt;/p&gt;
&lt;p&gt;The sole purpose of this function is to provide a means of fine tuning QVector's memory usage. In general, you will rarely ever need to call this function. If you want to know how many items are in the vector, call &lt;a href=&quot;QPolygonF.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#reserve(int)&quot;&gt;&lt;tt&gt;reserve&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPolygonF.html#squeeze()&quot;&gt;&lt;tt&gt;squeeze&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void clear()" doc="/**
&lt;p&gt;Removes all the elements from the vector.&lt;/p&gt;
&lt;p&gt;Same as resize(0).&lt;/p&gt;
 */"/>
    <method name="public final boolean contains(com.trolltech.qt.core.QPointF t)" doc="/**
&lt;p&gt;Returns true if the vector contains an occurrence of &lt;tt&gt;t&lt;/tt&gt;; otherwise returns false.&lt;/p&gt;
&lt;p&gt;This function requires the value type to have an implementation of &lt;tt&gt;operator==()&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#indexOf(com.trolltech.qt.core.QPointF, int)&quot;&gt;&lt;tt&gt;indexOf&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPolygonF.html#count(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;count&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean containsPoint(com.trolltech.qt.core.QPointF pt, com.trolltech.qt.core.Qt.FillRule fillRule)" doc="/**
&lt;p&gt;Returns true if the given &lt;tt&gt;pt&lt;/tt&gt; is inside the polygon according to the specified &lt;tt&gt;fillRule&lt;/tt&gt;; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final int count()" doc="/**
&lt;p&gt;Same as &lt;a href=&quot;QPolygonF.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
    <method name="public final int count(com.trolltech.qt.core.QPointF t)" doc="/**
&lt;p&gt;Returns the number of occurrences of &lt;tt&gt;t&lt;/tt&gt; in the vector.&lt;/p&gt;
&lt;p&gt;This function requires the value type to have an implementation of &lt;tt&gt;operator==()&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPolygonF.html#indexOf(com.trolltech.qt.core.QPointF, int)&quot;&gt;&lt;tt&gt;indexOf&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean empty()" doc="/**
&lt;p&gt;This function is provided for STL compatibility. It is equivalent to &lt;a href=&quot;QPolygonF.html#isEmpty()&quot;&gt;&lt;tt&gt;isEmpty&lt;/tt&gt;&lt;/a&gt;, returning true if the vector is empty; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.core.QPointF&gt; fill(com.trolltech.qt.core.QPointF t, int size)" doc="/**
&lt;p&gt;Assigns &lt;tt&gt;t&lt;/tt&gt; to all items in the vector. If &lt;tt&gt;size&lt;/tt&gt; is different from -1 (the default), the vector is resized to size &lt;tt&gt;size&lt;/tt&gt; beforehand.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;    QVector&amp;lt;QString&amp;gt; vector(3);
    vector.fill(&amp;quot;Yes&amp;quot;);
&lt;span class=&quot;comment&quot;&gt;    // vector: [&amp;quot;Yes&amp;quot;, &amp;quot;Yes&amp;quot;, &amp;quot;Yes&amp;quot;]&lt;/span&gt;

    vector.fill(&amp;quot;oh&amp;quot;, 5);
&lt;span class=&quot;comment&quot;&gt;    // vector: [&amp;quot;oh&amp;quot;, &amp;quot;oh&amp;quot;, &amp;quot;oh&amp;quot;, &amp;quot;oh&amp;quot;, &amp;quot;oh&amp;quot;]&lt;/span&gt;&lt;/pre&gt;

@see &lt;a href=&quot;QPolygonF.html#resize(int)&quot;&gt;&lt;tt&gt;resize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.core.QPointF&gt; fill(com.trolltech.qt.core.QPointF t)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QPolygonF.html#fill(com.trolltech.qt.core.QPointF, int)&quot;&gt;fill&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;t&lt;/tt&gt;, -1). */"/>
    <method name="public final com.trolltech.qt.core.QPointF first()"/>
    <method name="public final int indexOf(com.trolltech.qt.core.QPointF t, int from)" doc="/**
&lt;p&gt;Returns the index position of the first occurrence of &lt;tt&gt;t&lt;/tt&gt; in the vector, searching forward from index position &lt;tt&gt;from&lt;/tt&gt;. Returns -1 if no item matched.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;    QVector&amp;lt;QString&amp;gt; vector;
    vector &amp;lt;&amp;lt; &amp;quot;A&amp;quot; &amp;lt;&amp;lt; &amp;quot;B&amp;quot; &amp;lt;&amp;lt; &amp;quot;C&amp;quot; &amp;lt;&amp;lt; &amp;quot;B&amp;quot; &amp;lt;&amp;lt; &amp;quot;A&amp;quot;;
    vector.indexOf(&amp;quot;B&amp;quot;);            &lt;span class=&quot;comment&quot;&gt;// returns 1&lt;/span&gt;
    vector.indexOf(&amp;quot;B&amp;quot;, 1);         &lt;span class=&quot;comment&quot;&gt;// returns 1&lt;/span&gt;
    vector.indexOf(&amp;quot;B&amp;quot;, 2);         &lt;span class=&quot;comment&quot;&gt;// returns 3&lt;/span&gt;
    vector.indexOf(&amp;quot;X&amp;quot;);            &lt;span class=&quot;comment&quot;&gt;// returns -1&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;This function requires the value type to have an implementation of &lt;tt&gt;operator==()&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#lastIndexOf(com.trolltech.qt.core.QPointF, int)&quot;&gt;&lt;tt&gt;lastIndexOf&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPolygonF.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int indexOf(com.trolltech.qt.core.QPointF t)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QPolygonF.html#indexOf(com.trolltech.qt.core.QPointF, int)&quot;&gt;&lt;tt&gt;indexOf&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;t&lt;/tt&gt;, 0). */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF intersected(com.trolltech.qt.gui.QPolygonF r)" doc="/**
&lt;p&gt;Returns a polygon which is the intersection of this polygon and &lt;tt&gt;r&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final boolean isClosed()" doc="/**
&lt;p&gt;Returns true if the polygon is closed; otherwise returns false.&lt;/p&gt;
&lt;p&gt;A polygon is said to be closed if its start point and end point are equal.&lt;/p&gt;

@see &lt;tt&gt;QVector::first&lt;/tt&gt;
@see &lt;tt&gt;QVector::last&lt;/tt&gt; */"/>
    <method name="public final boolean isEmpty()" doc="/**
&lt;p&gt;Returns true if the vector has size 0; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPolygonF.html#resize(int)&quot;&gt;&lt;tt&gt;resize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF last()"/>
    <method name="public final int lastIndexOf(com.trolltech.qt.core.QPointF t, int from)" doc="/**
&lt;p&gt;Returns the index position of the last occurrence of the value &lt;tt&gt;t&lt;/tt&gt; in the vector, searching backward from index position &lt;tt&gt;from&lt;/tt&gt;. If &lt;tt&gt;from&lt;/tt&gt; is -1 (the default), the search starts at the last item. Returns -1 if no item matched.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;    QList&amp;lt;QString&amp;gt; vector;
    vector &amp;lt;&amp;lt; &amp;quot;A&amp;quot; &amp;lt;&amp;lt; &amp;quot;B&amp;quot; &amp;lt;&amp;lt; &amp;quot;C&amp;quot; &amp;lt;&amp;lt; &amp;quot;B&amp;quot; &amp;lt;&amp;lt; &amp;quot;A&amp;quot;;
    vector.lastIndexOf(&amp;quot;B&amp;quot;);        &lt;span class=&quot;comment&quot;&gt;// returns 3&lt;/span&gt;
    vector.lastIndexOf(&amp;quot;B&amp;quot;, 3);     &lt;span class=&quot;comment&quot;&gt;// returns 3&lt;/span&gt;
    vector.lastIndexOf(&amp;quot;B&amp;quot;, 2);     &lt;span class=&quot;comment&quot;&gt;// returns 1&lt;/span&gt;
    vector.lastIndexOf(&amp;quot;X&amp;quot;);        &lt;span class=&quot;comment&quot;&gt;// returns -1&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;This function requires the value type to have an implementation of &lt;tt&gt;operator==()&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#indexOf(com.trolltech.qt.core.QPointF, int)&quot;&gt;&lt;tt&gt;indexOf&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int lastIndexOf(com.trolltech.qt.core.QPointF t)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QPolygonF.html#lastIndexOf(com.trolltech.qt.core.QPointF, int)&quot;&gt;&lt;tt&gt;lastIndexOf&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;t&lt;/tt&gt;, -1). */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.core.QPointF&gt; mid(int pos, int length)" doc="/**
&lt;p&gt;Returns a vector whose elements are copied from this vector, starting at position &lt;tt&gt;pos&lt;/tt&gt;. If &lt;tt&gt;length&lt;/tt&gt; is -1 (the default), all elements after &lt;tt&gt;pos&lt;/tt&gt; are copied; otherwise &lt;tt&gt;length&lt;/tt&gt; elements (or all remaining elements if there are less than &lt;tt&gt;length&lt;/tt&gt; elements) are copied.&lt;/p&gt;
 */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.core.QPointF&gt; mid(int pos)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QPolygonF.html#mid(int, int)&quot;&gt;mid&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;pos&lt;/tt&gt;, -1). */"/>
    <method name="public final void writeTo(com.trolltech.qt.core.QDataStream stream)"/>
    <method name="public final void readFrom(com.trolltech.qt.core.QDataStream stream)"/>
    <method name="public final void pop_back()" doc="/**
&lt;p&gt;This function is provided for STL compatibility. It is equivalent to erase(end() - 1).&lt;/p&gt;
 */"/>
    <method name="public final void pop_front()" doc="/**
&lt;p&gt;This function is provided for STL compatibility. It is equivalent to erase(begin()).&lt;/p&gt;
 */"/>
    <method name="public final void prepend(com.trolltech.qt.core.QPointF t)" doc="/**
&lt;p&gt;Inserts &lt;tt&gt;t&lt;/tt&gt; at the beginning of the vector.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;    QVector&amp;lt;QString&amp;gt; vector;
    vector.prepend(&amp;quot;one&amp;quot;);
    vector.prepend(&amp;quot;two&amp;quot;);
    vector.prepend(&amp;quot;three&amp;quot;);
&lt;span class=&quot;comment&quot;&gt;    // vector: [&amp;quot;three&amp;quot;, &amp;quot;two&amp;quot;, &amp;quot;one&amp;quot;]&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;This is the same as vector.insert(0, &lt;tt&gt;t&lt;/tt&gt;).&lt;/p&gt;
&lt;p&gt;For large vectors, this operation can be slow (linear time&lt;/tt&gt;), because it requires moving all the items in the vector by one position further in memory. If you want a container class that provides a fast &lt;a href=&quot;QPolygonF.html#prepend(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;prepend&lt;/tt&gt;&lt;/a&gt; function, use QList or QLinkedList instead.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#append(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;append&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;insert&lt;/tt&gt; */"/>
    <method name="public final void push_back(com.trolltech.qt.core.QPointF t)" doc="/**
&lt;p&gt;This function is provided for STL compatibility. It is equivalent to append(&lt;tt&gt;t&lt;/tt&gt;).&lt;/p&gt;
 */"/>
    <method name="public final void push_front(com.trolltech.qt.core.QPointF t)" doc="/**
&lt;p&gt;This function is provided for STL compatibility. It is equivalent to prepend(&lt;tt&gt;t&lt;/tt&gt;).&lt;/p&gt;
 */"/>
    <method name="public final void remove(int i)" doc="/**
&lt;p&gt;Removes the element at index position &lt;tt&gt;i&lt;/tt&gt;.&lt;/p&gt;

@see &lt;tt&gt;insert&lt;/tt&gt;
@see &lt;a href=&quot;QPolygonF.html#replace(int, com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;replace&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPolygonF.html#fill(com.trolltech.qt.core.QPointF, int)&quot;&gt;&lt;tt&gt;fill&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void remove(int i, int n)" doc="/**
&lt;p&gt;Removes &lt;tt&gt;n&lt;/tt&gt; elements from the middle of the vector, starting at index position &lt;tt&gt;i&lt;/tt&gt;.&lt;/p&gt;

@see &lt;tt&gt;insert&lt;/tt&gt;
@see &lt;a href=&quot;QPolygonF.html#replace(int, com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;replace&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPolygonF.html#fill(com.trolltech.qt.core.QPointF, int)&quot;&gt;&lt;tt&gt;fill&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void replace(int i, com.trolltech.qt.core.QPointF t)" doc="/**
&lt;p&gt;Replaces the item at index position &lt;tt&gt;i&lt;/tt&gt; with &lt;tt&gt;t&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;i&lt;/tt&gt; must be a valid index position in the vector (i.e&amp;#x2e;, 0 &amp;lt;= &lt;tt&gt;i&lt;/tt&gt; &amp;lt; &lt;a href=&quot;QPolygonF.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;

@see &lt;tt&gt;operator[]&lt;/tt&gt;
@see &lt;a href=&quot;QPolygonF.html#remove(int, int)&quot;&gt;&lt;tt&gt;remove&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void reserve(int size)" doc="/**
&lt;p&gt;Attempts to allocate memory for at least &lt;tt&gt;size&lt;/tt&gt; elements. If you know in advance how large the vector will be, you can call this function, and if you call &lt;a href=&quot;QPolygonF.html#resize(int)&quot;&gt;&lt;tt&gt;resize&lt;/tt&gt;&lt;/a&gt; often you are likely to get better performance. If &lt;tt&gt;size&lt;/tt&gt; is an underestimate, the worst that will happen is that the QVector will be a bit slower.&lt;/p&gt;
&lt;p&gt;The sole purpose of this function is to provide a means of fine tuning QVector's memory usage. In general, you will rarely ever need to call this function. If you want to change the size of the vector, call &lt;a href=&quot;QPolygonF.html#resize(int)&quot;&gt;&lt;tt&gt;resize&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#squeeze()&quot;&gt;&lt;tt&gt;squeeze&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPolygonF.html#capacity()&quot;&gt;&lt;tt&gt;capacity&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void resize(int size)" doc="/**
&lt;p&gt;Sets the size of the vector to &lt;tt&gt;size&lt;/tt&gt;. If &lt;tt&gt;size&lt;/tt&gt; is greater than the current size, elements are added to the end; the new elements are initialized with a default-constructed value&lt;/tt&gt;. If &lt;tt&gt;size&lt;/tt&gt; is less than the current size, elements are removed from the end.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSharable(boolean sharable)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="public final int size()" doc="/**
&lt;p&gt;Returns the number of items in the vector.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#isEmpty()&quot;&gt;&lt;tt&gt;isEmpty&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPolygonF.html#resize(int)&quot;&gt;&lt;tt&gt;resize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void squeeze()" doc="/**
&lt;p&gt;Releases any memory not required to store the items.&lt;/p&gt;
&lt;p&gt;The sole purpose of this function is to provide a means of fine tuning QVector's memory usage. In general, you will rarely ever need to call this function.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#reserve(int)&quot;&gt;&lt;tt&gt;reserve&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPolygonF.html#capacity()&quot;&gt;&lt;tt&gt;capacity&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF subtracted(com.trolltech.qt.gui.QPolygonF r)" doc="/**
&lt;p&gt;Returns a polygon which is &lt;tt&gt;r&lt;/tt&gt; subtracted from this polygon.&lt;/p&gt;
 */"/>
    <method name="public final java.util.List&lt;com.trolltech.qt.core.QPointF&gt; toList()" doc="/**
&lt;p&gt;Returns a QList object with the data contained in this QVector.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;    QVector&amp;lt;double&amp;gt; vect;
    vect &amp;lt;&amp;lt; &amp;quot;red&amp;quot; &amp;lt;&amp;lt; &amp;quot;green&amp;quot; &amp;lt;&amp;lt; &amp;quot;blue&amp;quot; &amp;lt;&amp;lt; &amp;quot;black&amp;quot;;

    QList&amp;lt;double&amp;gt; list = vect.toList();
&lt;span class=&quot;comment&quot;&gt;    // list: [&amp;quot;red&amp;quot;, &amp;quot;green&amp;quot;, &amp;quot;blue&amp;quot;, &amp;quot;black&amp;quot;]&lt;/span&gt;&lt;/pre&gt;

@see &lt;a href=&quot;QPolygonF.html#fromList(java.util.List&lt;com.trolltech.qt.core.QPointF&gt;)&quot;&gt;&lt;tt&gt;fromList&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QList::fromVector&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPolygon toPolygon()" doc="/**
&lt;p&gt;Creates and returns a &lt;a href=&quot;QPolygon.html&quot;&gt;&lt;tt&gt;QPolygon&lt;/tt&gt;&lt;/a&gt; by converting each &lt;a href=&quot;%2E%2E/core/QPointF.html&quot;&gt;&lt;tt&gt;QPointF&lt;/tt&gt;&lt;/a&gt; to a &lt;a href=&quot;%2E%2E/core/QPoint.html&quot;&gt;&lt;tt&gt;QPoint&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;tt&gt;QPointF::toPoint&lt;/tt&gt; */"/>
    <method name="public final void translate(double dx, double dy)" doc="/**
&lt;p&gt;Translates all points in the polygon by (&lt;tt&gt;dx&lt;/tt&gt;, &lt;tt&gt;dy&lt;/tt&gt;).&lt;/p&gt;
 */"/>
    <method name="public final void translate(com.trolltech.qt.core.QPointF offset)" doc="/**
&lt;p&gt;Translate all points in the polygon by the given &lt;tt&gt;offset&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QPolygonF united(com.trolltech.qt.gui.QPolygonF r)" doc="/**
&lt;p&gt;Returns a polygon which is the union of this polygon and &lt;tt&gt;r&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#intersected(com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;intersected&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QPolygonF.html#subtracted(com.trolltech.qt.gui.QPolygonF)&quot;&gt;&lt;tt&gt;subtracted&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF value(int i, com.trolltech.qt.core.QPointF defaultValue)" doc="/**
&lt;p&gt;If the index &lt;tt&gt;i&lt;/tt&gt; is out of bounds, the function returns &lt;tt&gt;defaultValue&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QPointF value(int i)" doc="/**
&lt;p&gt;Returns the value at index position &lt;tt&gt;i&lt;/tt&gt; in the vector.&lt;/p&gt;
&lt;p&gt;If the index &lt;tt&gt;i&lt;/tt&gt; is out of bounds, the function returns a default-constructed value&lt;/tt&gt;. If you are certain that &lt;tt&gt;i&lt;/tt&gt; is within bounds, you can use &lt;a href=&quot;QPolygonF.html#at(int)&quot;&gt;&lt;tt&gt;at&lt;/tt&gt;&lt;/a&gt; instead, which is slightly faster.&lt;/p&gt;

@see &lt;a href=&quot;QPolygonF.html#at(int)&quot;&gt;&lt;tt&gt;at&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;operator[]&lt;/tt&gt; */"/>
    <method name="public native static java.util.List&lt;com.trolltech.qt.core.QPointF&gt; fromList(java.util.List&lt;com.trolltech.qt.core.QPointF&gt; list)" doc="/**
&lt;p&gt;Returns a QVector object with the data contained in &lt;tt&gt;list&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre&gt;    QStringList list;
    list &amp;lt;&amp;lt; &amp;quot;Sven&amp;quot; &amp;lt;&amp;lt; &amp;quot;Kim&amp;quot; &amp;lt;&amp;lt; &amp;quot;Ola&amp;quot;;

    QVector&amp;lt;QString&amp;gt; vect = QVector&amp;lt;QString&amp;gt;::fromList(list);
&lt;span class=&quot;comment&quot;&gt;    // vect: [&amp;quot;Sven&amp;quot;, &amp;quot;Kim&amp;quot;, &amp;quot;Ola&amp;quot;]&lt;/span&gt;&lt;/pre&gt;

@see &lt;a href=&quot;QPolygonF.html#toList()&quot;&gt;&lt;tt&gt;toList&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QList::toVector&lt;/tt&gt; */"/>
</class>