Canvas Label
Display text on your Canvas.
Canvas Label Overview
The Canvas Label is a piece of text that can be placed onto your Stage.
Adding a Canvas Label to your app
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.
Canvas Label Properties
The Text being displayed on your Canvas Label
The X-co-ordinate of the top-left pixel of the Canvas Label
The Y-co-ordinate of the top-left pixel of the Canvas Label
The size of the font of the Canvas Label
The color of the text of the Canvas Label
The color of the background of the Canvas Label
Select a Stage to display the current Canvas Label on
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.
Background Color
Set Background Color
Set the color of the background of the Canvas Label.
Get Background Color
Get the color of the background of the Canvas Label.
Move the Canvas Label to the named Stage.