Namespace Ot.Fvar
Foundation
Constant Ot.Fvar.Tag = "fvar"
Class Ot.Fvar.Table
Constructor
-
new Ot.Fvar.Table(axes?:Ot.Fvar.Axis[],instances?:Ot.Fvar.Instance[])
Create a new Ot.Fvar.Table, and initialize their
axis
andinstances
property.
Properties
-
axes:Ot.Fvar.Axis[]
Axis in this table.
-
instances:Ot.Fvar.Instance[]
Named instances in this table.
Methods
-
getDesignSpace:undefined
Returns a Ot.Var.DesignSpace determined by this table.
Class Ot.Fvar.Axis
Constructor
-
new Ot.Fvar.Axis(dim,flags,axisNameID)· axisNameID:number Name ID of this axis
Properties
-
readonly dim:Ot.Var.Dim
The corresponded Dimension of this axis.
-
readonly flags:Ot.Fvar.AxisFlags
Flags
-
readonly axisNameID:number
Name ID of this axis
Class Ot.Fvar.Instance
Constructor
-
new Ot.Fvar.Instance(subfamilyNameID,flags,coordinates,postScriptNameID?)· subfamilyNameID:number· postScriptNameID?:number
Properties
- subfamilyNameID:number
- flags:Ot.Fvar.InstanceFlags
- coordinates:Ot.Var.Instance
- postScriptNameID?:number
Axis and Instance flags
Enumeration Ot.Fvar.AxisFlags
Enumeration Ot.Fvar.InstanceFlags
-
Default = 0
A normal instance.