self:destroy
Client
Destroys the SVG instance and frees its resources
Syntax
local status = self:destroy()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
local tex = svg.create("assets/icon.svg")
tex:destroy()