Skip to content

Drawing library

Drawing new

function Drawing.new(<string> classname): Instance

Creates a new drawing object. classname can be any of the following:

  • "text"
  • "line"
  • "triangle"
  • "square"
  • "circle"
  • "quad" (basically four points that you can control, see at as each corner of a square or as a 4 point triangle)