Ejemplo n.º 1
0
        protected override void GetCurrentValueAsFrozenCore(Freezable sourceFreezable)
        {
            RGBFilterBitmapEffect cycle = (RGBFilterBitmapEffect)sourceFreezable;

            base.GetCurrentValueAsFrozenCore(sourceFreezable);

            Red   = defaultRed;
            Green = defaultGreen;
            Blue  = defaultBlue;
        }
Ejemplo n.º 2
0
        protected override void CloneCore(Freezable sourceFreezable)
        {
            RGBFilterBitmapEffect cycle =
                (RGBFilterBitmapEffect)sourceFreezable;

            base.CloneCore(sourceFreezable);
            Red   = defaultRed;
            Green = defaultGreen;
            Blue  = defaultBlue;
        }
Ejemplo n.º 3
0
        protected override void CloneCurrentValueCore(Freezable sourceAnimatable)
        {
            RGBFilterBitmapEffect sourceRGBFilterBitmapEffect = (RGBFilterBitmapEffect)sourceAnimatable;

            sourceRGBFilterBitmapEffect = this;

            base.CloneCurrentValueCore(sourceAnimatable);

            Red   = sourceRGBFilterBitmapEffect.Red;
            Green = sourceRGBFilterBitmapEffect.Green;
            Blue  = sourceRGBFilterBitmapEffect.Blue;
        }