Represents a single entry in a FontFamily, mapping a Font asset to a style (weight + italic).
Lens Scripting Version 356
The Font asset for this entry.
null Copy
null
Whether this entry is italic.
false Copy
false
The font weight (e.g. 400 for Regular, 700 for Bold).
400 Copy
400
Static
Creates a new FontFamilyEntry with default values.
//@input Asset.Font fontRegularvar entry = FontFamilyEntry.create();entry.font = script.fontRegular;entry.weight = 400;entry.italic = false; Copy
//@input Asset.Font fontRegularvar entry = FontFamilyEntry.create();entry.font = script.fontRegular;entry.weight = 400;entry.italic = false;
Represents a single entry in a FontFamily, mapping a Font asset to a style (weight + italic).
Since
Lens Scripting Version 356