set_canvas
Description:
This function is only intended to be used when implementing new canvas items, specifically container items such as CanvasGroup.
It sets the canvas of the item.
Parameters:
this |
a CanvasItem. |
canvas |
a Canvas |