Canvas
extends Control
The Canvas class is used to manage the rendering and layout of UI elements.
To obtain a reference to the Canvas component, refer to UIComponent.canvas or Control.canvas.
成员变量
Canvas.sortOrder : number |
| Read-only. The rendering order of the canvas element. Smaller values are rendered first. |
Canvas.ppu : number |
| The number of pixels per unit on the current canvas. |
