canvas.rectangle(0,90,500,500);
if RadioButton1.checked then canvas.rectangle(100,100,200,200);
if radiobutton2.checked then Canvas.ellipse(100,100,200,200);
if radiobutton3.checked then canvas.polygon([point(150,100), point(100,200), point(200,200)]);