Visual look at same value, Visual.MixColor's alpha and Visual.Opacity,
we need to synchronize both values.
Since we don't open Visual.Opacity property for View side
let we control this value inside of View.
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
ImageVisualProperty.WrapModeV,
ImageVisualProperty.SynchronousLoading,
Visual.Property.MixColor,
+ Visual.Property.Opacity,
Visual.Property.PremultipliedAlpha,
ImageVisualProperty.OrientationCorrection,
ImageVisualProperty.FastTrackUploading,
var imageView = (ImageView)bindable;
if (newValue != null)
{
+ imageView.UpdateImage(Visual.Property.Opacity, new PropertyValue(((Color)newValue).A), false);
imageView.UpdateImage(Visual.Property.MixColor, new PropertyValue((Color)newValue));
}
},