@huukhanhnguyen/types / evaluate/textStyle
evaluate/textStyle
TextStyle
TextStyle = {
font?:string;height:number;name:string;oblique?:number;widthFactor?:number; }
Produced by collectTextStyleNodes() from an authored textStyle node's expression args; consumed BY NAME (identity: "name", matching materials / layers / styles).
font?
optionalfont?:string
A url-method parameter key naming an attached font file (the asset mechanism assetTypeOf already resolves), OR a family name the reader looks up itself. Absent = the reader's own default face.
height
height:
number
Cap height in MODEL units — the size a drafter states.
name
name:
string
oblique?
optionaloblique?:number
Slant in degrees, 0 = upright (DXF group code 50).
widthFactor?
optionalwidthFactor?:number
Horizontal stretch, 1 = natural (DXF group code 41).