Canvas Label
Display text on your Canvas.
To add a Canvas Label to your app, click on the Stage of your Canvas. This will automatically bring you to the Canvas tab.
Underneath your component tree, where you would see a component menu in the Design tab, you will see your Sprite Type menu and a User Interface menu.
You can find the Canvas Label in the Unser Interface menu.

You can drag and drop the Canvas Label onto your Stage.
Property | Description | Data Type |
Text | The Text being displayed on your Canvas Label | Text |
X | The X-co-ordinate of the top-left pixel of the Canvas Label | Number |
Y | The Y-co-ordinate of the top-left pixel of the Canvas Label | Number |
Font Size | The size of the font of the Canvas Label | Number |
Color | The color of the text of the Canvas Label | Color |
Background Color | The color of the background of the Canvas Label | Color |
Stage Selection | Select a Stage to display the current Canvas Label on | Select from menu |

Set the text being displayed in the Canvas Label.

Get the text of the Canvas Label.

Set the X Co-ordinate of the top-left pixel of the Canvas Label.

Get the X Co-ordinate of the top-left pixel of the Canvas Label.

Set the Y Co-ordinate of the top-left pixel of the Canvas Label.

Get the Y Co-ordinate of the top-left pixel of the Canvas Label.

Set the font size of the text of the Canvas Label.

Get the font size of the text of the Canvas Label.

Set the color of the text of the Canvas Label.

Get the color of the text of the Canvas Label.

Set the color of the background of the Canvas Label.

Get the color of the background of the Canvas Label.

Move the Canvas Label to the named Stage.
Last modified 1mo ago