Edit in GitHubLog an issue

CompositeFonts

A collection of composite fonts.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

CompositeFont add( Object withProperties )

Creates a new CompositeFont.

Parameters

TypeNameDescription
Object
withProperties
Initial values for properties of the new CompositeFont (Optional)

Number count()

Displays the number of elements in the CompositeFont.


CompositeFont item( Mixed index )

Returns the CompositeFont with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

CompositeFont itemByName( String name )

Returns the CompositeFont with the specified name.

Parameters

TypeNameDescription
String
name
The name.

CompositeFont itemByID( Number id )

Returns the CompositeFont with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

CompositeFont itemByRange( Mixed from, Mixed to )

Returns the CompositeFonts within the specified range.

Parameters

TypeNameDescription
Mixed
from
The CompositeFont, index, or name at the beginning of the range. Can accept: CompositeFont, Long Integer or String.
Mixed
to
The CompositeFont, index, or name at the end of the range. Can accept: CompositeFont, Long Integer or String.

CompositeFont firstItem()

Returns the first CompositeFont in the collection.


CompositeFont lastItem()

Returns the last CompositeFont in the collection.


CompositeFont middleItem()

Returns the middle CompositeFont in the collection.


CompositeFont previousItem( CompositeFont obj )

Returns the CompositeFont with the index previous to the specified index.

Parameters

TypeNameDescription
CompositeFont
obj
The index of the CompositeFont that follows the desired CompositeFont.

CompositeFont nextItem( CompositeFont obj )

Returns the CompositeFont whose index follows the specified CompositeFont in the collection.

Parameters

TypeNameDescription
CompositeFont
obj
The CompositeFont whose index comes before the desired CompositeFont.

CompositeFont anyItem()

Returns any CompositeFont in the collection.


CompositeFont everyItem()

Returns every CompositeFont in the collection.


String toSource()

Generates a string which, if executed, will return the CompositeFont.


CompositeFont []( Number index )

Returns the CompositeFont with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.