Dali 3D User Interface Engine
Background

Background Color

It is possible to set a background color for a DALi control. If the application writer wishes to set a control with a red background:

BackgroundControlColor.png

This can be used for ALL existing controls like TextLabel as well:

BackgroundTextLabel.png

Background Image

If required, the user can also set a background image as a DALi control:

BackgroundImage.png

The background image is blended with the background color. If a red background color is set on the control:

then the above image will look like:

BackgroundImageColor.png

Background Renderer

The background can be set to use a specified renderer, e.g the border renderer

Property::Map renderer;
renderer.Insert("rendererType","border");
renderer.Insert("borderColor",COLOR::RED);
renderer.Insert("borderSize",20.f);

then the above image will look like:

BackgroundBorder.png
Dali Docs Home
Read more about Dali