FontCollection
Contents
[
Hide
]FontCollection class
Contains a collection of Font elements.
Constructors
| Name | Description |
|---|---|
| FontCollection | Constructor. |
Properties
| Name | Type | Description |
|---|---|---|
| Count | int | |
| Item (int) | Font |
Methods
| Name | Description |
|---|---|
| add | Add the Font object in the collection. |
| remove | Remove the Font object from the collection. |
| getFont | Gets the element at the specified ID. |
| clear | |
| removeAt | |
| iterator | Reserved for internal use. |
FontCollection()
Constructor.
FontCollection.Count property
Type: int
FontCollection.Item (int) property
Type: Font
add(font)
Add the Font object in the collection.
| Parameter | Type | Description |
|---|---|---|
| font | Font |
remove(font)
Remove the Font object from the collection.
| Parameter | Type | Description |
|---|---|---|
| font | Font |
getFont(ID)
Gets the element at the specified ID.
| Parameter | Type | Description |
|---|---|---|
| ID | int | int The ID of the element within its parent element. |
Returns: Font Font.
clear()
removeAt(index)
iterator()
Reserved for internal use.