Class: GdiFont | Spider Monkey Panel

## GdiFont(name, size_px, styleopt)

#### new GdiFont(name, size_px, styleopt)
`js/foo_spider_monkey_panel.js`, `line 2946`

  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 | Attributes | Default | Description
  --- | --- | --- | --- | ---
  `name` | string |  |  |
  `size_px` | number |  |  | See Helper.js > Point2Pixel function for conversions
  `style` | number | <optional> | 0 | See Flags.js > FontStyle

### Members

#### readonly Height :number
`js/foo_spider_monkey_panel.js`, `line 2954`

  ##### Example

      console.log(my_font.Height); // 15

#### readonly Name :string
`js/foo_spider_monkey_panel.js`, `line 2963`

  ##### Example

      console.log(my_font.Name); // Segoe UI

#### readonly Size :float
`js/foo_spider_monkey_panel.js`, `line 2972`

  ##### Example

      console.log(my_font.Size); // 12

#### readonly Style :number
`js/foo_spider_monkey_panel.js`, `line 2983`

  See Flags.js > FontStyle for value interpretation.

  ##### Example

      console.log(my_font.Style);