Alpha Slide
Alpha Slide are controls that display only image transparency information, allowing you to make a monochrome mask of an image with a transparent background.
Click the "Add Control" button in the "Edit" menu, and then click "Alpha Slide Control" in the drop-down list of controls.
The message "Add Widget Successfully" will pop up in the upper right corner of the interface, and you can see the newly added Alpha Slide control in the "Edit Area". Select the Alpha Slide control, you can edit it in the "Properties" column.
Name, ID, Coordinates, Width, Height, Block Touch, Transform, Texture Compression Mode, Replaceable Upgrade, and Texture are common attributes, which are introduced in the "Basic Design - Edit Attributes" section, so we won't repeat them here.
"Texture Settings" contains texture and background color, the texture map uploaded by user will show transparency with background color.
If you select background image in texture, it needs to be a transparent image, background color is not available by default. User can insert multiple images down or up, use register to control the image number to realize the switching display effect.
The background color is the color of the opaque part of the background image, only 1 background color can be selected, no background image can be inserted.
"Variable" drop-down list allows you to select a variable to bind with the control. tag value is the serial number of the inserted texture, by controlling the tag, you can realize the monochrome mask display effect of different layers.
Alpha Slide control can also display colored text, you can set a single line or multiple lines, you can set the line spacing, text direction, alignment, the color of the text for the control of the "background color", you can insert different text in different layers of the control and then in the simulation to the control of the variables bound to the assignment of 0, 1, 2 ..., to achieve the effect of switching the text display. The effect of switching the display of text.