FontCollection
Contents
[
Hide
]FontCollection class
Contains a collection of Font elements.
new FontCollection()
Constructor.
Methods
| Name | Description |
|---|---|
| add(font) | Add the Font object in the collection. |
| clear() | |
| get() | |
| getCount() | |
| getFont(ID) | Gets the element at the specified ID. |
| iterator() | Reserved for internal use. |
| remove(font) | Remove the Font object from the collection. |
| removeAt() |
add(font)
Add the Font object in the collection.
| Parameter | Type | Description |
|---|---|---|
| font | Font |
Returns: Number — Number
clear()
get()
getCount()
getFont(ID)
Gets the element at the specified ID.
| Parameter | Type | Description |
|---|---|---|
| ID | Number | int |
Returns: Font — Font FontFont.
iterator()
Reserved for internal use.
remove(font)
Remove the Font object from the collection.
| Parameter | Type | Description |
|---|---|---|
| font | Font |