sUNC Reference
Drawing
Create and manage client-only 2D drawing objects.
Related to sUNC documentation
This reference is based exclusively on the official sUNC documentation.
Overview
- Drawing objects render outside the DataModel and must be managed manually.
- Supported shapes are Line, Text, Image, Circle, Square, Quad and Triangle.
Available functions
Constructor
Creates a drawing object of the selected type.
function Drawing.new(type: string): DrawingMethods
| Name | Type | Description |
|---|---|---|
Destroy() | () | Permanently removes the drawing object. |