Skip to content
Shapemetry

Model - textEntity producers

Every producer whose return is textEntity[] — what it creates is concatenated into the entity stream. Authored as a step in an objects[] chain.

MethodDescriptionArgTypeDefaultMeaning
textEntityText — A string placed and oriented in space. Font, height and slant come from the named textStyles[] record — never from the mark itself, which is what makes a drawing restylable.positionpoint[0,0,0]
textstring''
widthlength0Word-wrap into a text block no wider than this (paper mm); 0 = single line. A \n in the text always breaks.
stylestring'standard'textStyles[] name (quote literals). 'standard' is the builtin (height 3.5).
Last updated: 📖 1 min readEdit on GitHub