You copied the Doc URL to your clipboard.

4.3.3. Optimize the use of transparency

Transparency is a useful effect but it can be resource intensive if there are many layers.

If you are using transparent objects you can reduce their drawing cost by:

  • Ensuring transparent objects are drawn last. If a transparent object is not drawn last your application might have to waste resources drawing the object more than once.

  • Minimizing the number of transparent layers visible through each other.

  • Ensuring they occupy a small area on the screen.

Was this page helpful? Yes No