FontCollection

FontCollection class

Contains a collection of Font elements.

new FontCollection()

Constructor.

Methods

NameDescription
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.

ParameterTypeDescription
fontFont

Returns: Number — Number

clear()

get()

getCount()

getFont(ID)

Gets the element at the specified ID.

ParameterTypeDescription
IDNumberint

Returns: Font — Font FontFont.

iterator()

Reserved for internal use.

remove(font)

Remove the Font object from the collection.

ParameterTypeDescription
fontFont

removeAt()