new Font(family [, pointSize] [, weight] [, italic])
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
family |
string | |||
pointSize |
number |
<optional> |
-1 | |
weight |
number |
<optional> |
-1 | |
italic |
boolean |
<optional> |
false |