Constructor Summary |
---|
FontCollection()
Constructor. |
Property Getters/Setters Summary | ||
---|---|---|
function | getCount() | |
Gets the number of elements actually contained in the collection. | ||
function | get(index) | |
Gets the element at the specified index. |
Method Summary | ||
---|---|---|
function | add(font) | |
Add the Font object in the collection. | ||
function | clear() | → inherited from Collection |
Removes all elements from collection. | ||
function | getFont(ID) | |
Gets the element at the specified ID. | ||
function | isExist(index) | → inherited from Collection |
Is exist item in the collection. | ||
function | iterator() | → inherited from Collection |
Supports a simple iteration over a nongeneric collection. | ||
function | remove(font) | |
Remove the Font object from the collection. |
Constructor Detail |
---|
function FontCollection()
Property Getters/Setters Detail |
---|
getCount : Number | |
function getCount() |
get : Font | |
function get(index) |
index
- Method Detail |
---|
add | |
function add(font) |
font: Font
- remove | |
function remove(font) |
font: Font
- getFont | |
function getFont(ID) |
ID: Number
- iterator | |
function iterator() |
isExist | |
function isExist(index) |
index: Number
- index of element.clear | |
function clear() |