Event
Canvas.Update
Called when the Canvas needs to be painted<br/><br/>You can only call <code>:Draw...()</code> methods from inside this event
Syntax
Canvas.Subscribe("Update", function(self, width, height)
-- il tuo codice
end)
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
self
|
Canvas | — | — |
width
|
integer | — | — |
height
|
integer | — | — |