public boolean collision(Point loc, Area other)
	{
		AffineTransform af=new AffineTransform();
		if(loc!=null)
			af.translate(loc.x,loc.y);
		else
			af.translate(this.x,this.y);
		Area myarea=mask.area().createTransformedArea(af);
		
		
		myarea.intersect(other);
		return(!myarea.isEmpty());
	}