An array of RectF objects.
More...
Public Member Functions | |
boolean | add (RectF newElement) |
Add an element at the tail. Potentially growing the array. More... | |
int | find (RectF data, int iStart) |
Find an element from specified position to last. More... | |
RectF | getAt (int nIndex) |
This method retrieves an element specified by an index number. More... | |
int | getSize () |
Get the number of elements in the array. More... | |
int | getUpperBound () |
Get the upper bound in the array, actually the maximum valid index. More... | |
void | removeAll () |
Clean up the array. More... | |
boolean | removeAt (int nIndex, int nCount) |
Remove a number of elements at specified position. More... | |
boolean | setAt (int nIndex, RectF newElement) |
This method overwrites an element specified by an index number. More... | |
boolean | setAtGrow (int nIndex, RectF newElement) |
Set an element value at specified position. Potentially growing the array. More... | |
boolean | setSize (int nNewSize, int nGrowBy) |
Change the allocated size and the grow amount. More... | |
An array of RectF objects.
boolean com.foxit.sdk.common.fxcrt.RectFArray.add | ( | RectF | newElement | ) |
Add an element at the tail. Potentially growing the array.
[in] | newElement | The input element. |
int com.foxit.sdk.common.fxcrt.RectFArray.find | ( | RectF | data, |
int | iStart | ||
) |
Find an element from specified position to last.
[in] | data | The input element. |
[in] | iStart | Specifies the zero-based index of start element to find. |
RectF com.foxit.sdk.common.fxcrt.RectFArray.getAt | ( | int | nIndex | ) |
This method retrieves an element specified by an index number.
[in] | nIndex | Specifies the zero-based index of the element. |
int com.foxit.sdk.common.fxcrt.RectFArray.getSize | ( | ) |
Get the number of elements in the array.
int com.foxit.sdk.common.fxcrt.RectFArray.getUpperBound | ( | ) |
Get the upper bound in the array, actually the maximum valid index.
void com.foxit.sdk.common.fxcrt.RectFArray.removeAll | ( | ) |
Clean up the array.
boolean com.foxit.sdk.common.fxcrt.RectFArray.removeAt | ( | int | nIndex, |
int | nCount | ||
) |
Remove a number of elements at specified position.
[in] | nIndex | Specifies the zero-based index in the array. |
[in] | nCount | Specifies the count of element to remove. |
boolean com.foxit.sdk.common.fxcrt.RectFArray.setAt | ( | int | nIndex, |
RectF | newElement | ||
) |
This method overwrites an element specified by an index number.
[in] | nIndex | Specifies the zero-based index of the element. |
[in] | newElement | An element. |
boolean com.foxit.sdk.common.fxcrt.RectFArray.setAtGrow | ( | int | nIndex, |
RectF | newElement | ||
) |
Set an element value at specified position. Potentially growing the array.
[in] | nIndex | Specifies the zero-based index of element in the array. |
[in] | newElement | The input element. |
boolean com.foxit.sdk.common.fxcrt.RectFArray.setSize | ( | int | nNewSize, |
int | nGrowBy | ||
) |
Change the allocated size and the grow amount.
[in] | nNewSize | The new size in elements expected. |
[in] | nGrowBy | The grow amount in elements expected. This can be -1 for the grow amount unchanged. |