CuttleContext
Properties
.projectCuttleContextProject
The current project.
Methods
.getQRCodeFromText(text,errorCorrectionLevel)→(QRCode | undefined)
Returns a QR Code encoded from the given text, or undefined while the QR
code library is loading. Example rendering:
return cuttle.getQRCodeFromText("https://cuttle.xyz", "low")?.toCompoundPath();
QR Code is registered trademark of DENSO WAVE INCORPORATED.
textstringerrorCorrectionLevel("low" | "medium" | "high")
The Cuttle context can be accessed in expressions via the
cuttleglobal. It holds information about Cuttle and the current project.