public override void draw(CommonGraphics g) { int x = coreShape.info.points[0].X, y = coreShape.info.points[0].Y, width = coreShape.info.width, height = coreShape.info.height; coreShape.draw(g); if (coreShape.GetType() == typeof(Rect)) { g.drawRecShadow(x, y, width, height); } }