set_canvas


Description:

public abstract void set_canvas (Canvas canvas)

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