new FontCollection()

Constructor.

Methods

add(font) → Number

Add the Font object in the collection.

Parameter

Name Type Optional Description

font

Font

 

Returns

Number 

clear()

get()

getCount()

getFont(ID) → Font

Gets the element at the specified ID.

Parameter

Name Type Optional Description

ID

Number

 

int

Returns

Font FontFont.

iterator()

Reserved for internal use.

remove(font)

Remove the Font object from the collection.

Parameter

Name Type Optional Description

font

Font

 

removeAt()