public void pintarLinea(int xOrigen, int yOrigen, int xDestino,int yDestino, TipoLinea tipo,ColorLinea color){
TipoPunto tipoPunto=TipoPunto.CERRADO;
if(tipo==TipoLinea.INVISIBLE){
tipoPunto=TipoPunto.INVISIBLE;
}
else{
if(color==ColorLinea.ABIERTO){