drawText(opt: DrawTextOpt): void
Draw a piece of text.
param
opt- The draw text options.
drawText({ text: "oh hi", size: 48, font: "sans-serif", width: 120, pos: vec2(100, 200), color: rgb(0, 0, 255), });
since
v2000.0
Draw a piece of text.
param
opt- The draw text options.
drawText({ text: "oh hi", size: 48, font: "sans-serif", width: 120, pos: vec2(100, 200), color: rgb(0, 0, 255), });
since
v2000.0
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Layer
Camera
Level
Plugins
Button Bindings