meta data for this page
  •  

Text

The 'text' functions are accessed through the modeling API using the following:

const { vectorChar, vectorText } = require('@jscad/modeling').text
Function Notes
let vectorCharObject = vectorChar({ xOffset: 10, yOffset: 50, height: 18, input: '!' }) API
let arrayOfSegments = vectorText({ xOffset: 10, yOffset: 50, height: 18, input: 'line1\nline2' }) API