Watchmaker Wiki

The ultimate watch maker for Android Wear!

User Tools

Site Tools


color

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
color [2015/01/15 19:01] – created splitbraincolor [2020/05/28 07:38] (current) – [Color Dim] chenfeng0802
Line 8: Line 8:
 Please note that no alpha value can be set in the color dialog. Use the [[opacity]] property instead. Please note that no alpha value can be set in the color dialog. Use the [[opacity]] property instead.
  
-Dynamic colors using [[lua]] expression are not yet possible but are announced for future release.+**Hint:** Dynamic colors using [[lua]] expressions can be set when tapping the color code in the picker. You can als dynamically change colors using [[shaders]]. 
 + 
 +var_myImageOpacity = -1 
 +var_myImageOpacity2 = 0 
 +var_myImageOpacity1 = 100 
 +===== Tint ===== 
 + 
 +Some widgets ([[image]], [[sprite]]) support tint colorThat color is added to the image's original colors. This works best for mono-chromatic images and images with alpha transparency (like PNGs). A tint of white (#ffffff) will display the original colors as is. A tint of black (#000000) will display original colors in black. 
 + 
 +{{ :screens:tint.png?500 |Tint in different colors}}
color.1421348471.txt.gz · Last modified: 2015/01/15 19:01 by splitbrain