public ApplicationSprite()
        {
            var s = new Sprite().AttachTo(this);
            var g = s.graphics;

            var fill = new LinearGradient();

            var g1 = new GradientEntry {
                color = Color1, ratio = 0.00, alpha = 0
            };
            var g2 = new GradientEntry {
                color = Color2, ratio = 0.90, alpha = 1
            };

            fill.entries = new[] { g1, g2 };
            // rotation?
            fill.angle = 45;

            // Draw a box and fill it with the LinearGradient.
            g.moveTo(0, 0);

            fill.begin(g, new Rectangle {
                width = DefaultWidth, height = DefaultHeight
            }, new Point());

            g.lineTo(DefaultWidth, 0);
            g.lineTo(DefaultWidth, DefaultHeight);
            g.lineTo(0, DefaultHeight);
            g.lineTo(0, 0);

            fill.end(g);
        }