Text Font
Describes a font that is available to the application. Access this object in the Photoshop.fonts collection.
Copied to your clipboardconst arialMTFont = require('photoshop').app.fonts.getByName("ArialMT");
Properties
| 名称 | 类型 | 访问 | 最低版本 | 描述 |
|---|---|---|---|---|
| family | string | R | 23.0 | The font family. |
| name | string | R | 23.0 | The name of the font. |
| parent | Photoshop | R | 23.0 | The containing application. |
| postScriptName | string | R | 23.0 | The PostScript name of the font. |
| style | string | R | 23.0 | The font style. |
| typename | string | R | 23.0 | The class name of the referenced object: "TextFont". |