Copyright © 2003-2010 MultiMedia Soft

Texture.PercentageColorMix property

Previous pageReturn to chapter overviewNext page


[Visual Basic]

Public Property PercentageColorMix As Short



public short PercentageColorMix {get; set;}



public: __property short get_PercentageColorMix();

public: __property void set_PercentageColorMix(short);




The percentage used to mix the texture, previously set through the Texture.Filepath property, with the color chosen through the Texture.ColorToMix property.

It's value can be ranged from 0 to 100: by default the percentage value is 50%.

Below you can see two samples of textured button, the first one 50% mixed with Red RGB (255, 0, 0) color and the second one 99% mixed with Red RGB (255, 0, 0) color.





See also

Texture property.

TextureDesc class.

How to apply a texture to the button surface section.