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