Represents a single entry in a FontFamily, mapping a Font asset to a style (weight + italic).
The Font asset for this entry.
Whether this entry is italic.
The font weight (e.g. 400 for Regular, 700 for Bold).
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).