Font
A widget that allows the user to select various font properties.
Specification
key | type | required | default value | description |
---|---|---|---|---|
includeSize | boolean | no | false |
If true allow the user to pick a font size. |
includeStyle | boolean | no | false |
If true allow the user to specify bold or italic. |
includeEffects | boolean | no | false |
If true allow user to select effects such as strikeout or underline. |
supportedFonts | array\ |
no | [] | If non-empty, specifies a list of the fonts to support in the font picker. |
Example
{
"name": "somefont",
"type": "font",
"valueType": "dictionary",
"prompt": "Title Font",
"size": true,
"style": true,
"effects": false,
"supportedFonts": ["Arial", "Times New Roman"]
}