Beispiel #1
0
        public override void Draw(Android.Graphics.Canvas canvas)
        {
            Drawable dr = Proxy;

            if (dr != null)
            {
                int       sc   = canvas.Save();
                Animation anim = mAnimation;
                if (anim != null)
                {
                    anim.GetTransformation(
                        AnimationUtils.CurrentAnimationTimeMillis(),
                        mTransformation);
                    canvas.Concat(mTransformation.Matrix);
                }
                dr.Draw(canvas);
                canvas.RestoreToCount(sc);
            }
        }