indexOf
indexOf(String fontName) method
Returns an index of the specified rule in the collection.
Parameters
| Name | Type | Description |
|---|---|---|
| fontName | String | Font’s name to find. |
Returns
int
Returns an index of the specified rule in the collection.
| Name | Type | Description |
|---|---|---|
| fontName | String | Font’s name to find. |
int