TextFonts

A collection of fonts.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

anyItem(
)
 → Font
count(
)
 → number
everyItem(
)
 → Font
firstItem(
)
 → Font
item(
index)
 → Font
itemByName(
name)
 → Font
itemByRange(
from, to)
 → Font
lastItem(
)
 → Font
middleItem(
)
 → Font
nextItem(
obj)
 → Font
previousItem(
obj)
 → Font
toSource(
)
 → string
anyItem(
)
 → Font
Returns any Font in the collection.
count(
)
 → number
Displays the number of elements in the Font.
everyItem(
)
 → Font
Returns every Font in the collection.
firstItem(
)
 → Font
Returns the first Font in the collection.
item(
index)
 → Font
Returns the Font with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByName(
name)
 → Font
Returns the Font with the specified name.
name string The name.
itemByRange(
from, to)
 → Font
Returns the Fonts within the specified range.
from The Font, index, or name at the beginning of the range. Can accept: Font, Long Integer or String.
to The Font, index, or name at the end of the range. Can accept: Font, Long Integer or String.
lastItem(
)
 → Font
Returns the last Font in the collection.
middleItem(
)
 → Font
Returns the middle Font in the collection.
nextItem(
obj)
 → Font
Returns the Font whose index follows the specified Font in the collection.
obj Font The Font whose index comes before the desired Font.
previousItem(
obj)
 → Font
Returns the Font with the index previous to the specified index.
obj Font The index of the Font that follows the desired Font.
toSource(
)
 → string
Generates a string which, if executed, will return the Font.