|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
namespace Circolo
{
class Tela : Grafica
{
private Bitmap immagine = null;
public Tela(int larghezza, int altezza, float x0, float y0, float xf)
{
immagine = new Bitmap (Math. Abs(larghezza ), Math. Abs(altezza ));
base.Dimensiona(Graphics.FromImage(immagine), x0, y0, xf);
}
public Tela():this(640, 480, -10f, -7.5f, 10f)
{
}
public Bitmap Disegno
{
get
{
return immagine;
}
}
}
}
|
|