class
GdiFont
js/foo_uie_jsplitter.js:4363
GdiFont(name, size_px, style)
Constructor may fail if font is not present.
Performance note: try caching and reusing GdiFont objects, since the maximum amount of such objects is hard-limited by Windows. GdiFont creation will fail after reaching this limit.
Parameters
| Name | Type | Description |
|---|---|---|
name | string | |
size_px | number | See Point2Pixel function for conversions |
style = 0optional | number | See FontStyle flags |