.net - How to use DoubleAnimation for changing "Tint"? -


i'm used cocos2d apply tint animation of object , hoping find same in wpf since opacity similar between cocos2d , wpf shown below:

                bitmapimage image = new bitmapimage();                 image.begininit();                 image.urisource = new uri(longresourcespath + item.imagefile);                 image.endinit();                 imgprofile.source = image;                 imgprofile.opacity = 0;                  doubleanimation anin = new doubleanimation();                 anin.from = 0;                 anin.to = 1;                 anin.duration = new duration(timespan.frommilliseconds(250));                  imgprofile.beginanimation(image.opacityproperty, anin); 

how can change code change tint 100% white 0 (image normal tint)

thanks


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -