
## MemoryFontSource class

Represents the single TrueType font file stored in memory.

```js
new MemoryFontSource(fontData)
```

Ctor.

## Methods

| Name | Description |
| --- | --- |
| [getFontData()](#getfontdata) | Binary font data. |
| [getType()](#gettype) | Returns the type of the font source. The value of the property is FontSourceType integer constant. |

### getFontData() {#getfontdata}

Binary font data.

### getType() {#gettype}

Returns the type of the font source. The value of the property is FontSourceType integer constant.
