# [name]

Create a set of [page:Shape Shapes] representing a font loaded in JSON format.
This is used internally by the [page:FontLoader].

## Examples

[example:webgl_geometry_text_shapes geometry / text / shapes ]
[example:webgl_shaders_vector vector / text ]

## Constructor

### [name]( data )

data -- JSON data representing the font.
This constructor creates a new [name], which is an array of [page:Shape Shapes].

## Properties

### [property:array data]

The JSON data passed in the constructor.

### [property:Boolean isFont]

Used to check whether this or derived classes are fonts. Default is *true*.
You should not change this, as it used internally by the renderer for optimisation.

## Methods

### [method:null generateShapes]( [param:String text], [param:Float size] )

[page:String text] -- string of text.
[page:Float size] -- (optional) scale for the [page:Shape Shapes]. Default is *100*.
Creates an array of [page:Shape Shapes] representing the text in the font.

## Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]