docs: public void closePath() {
  		if (this.numTypesProperty.get()<=0 ||
  				(this.types[this.numTypesProperty.get()-1]!=PathElementType.CLOSE
  				&&this.types[this.numTypesProperty.get()-1]!=PathElementType.MOVE_TO)) {
  			ensureSlots(true, 0);
  			this.types[this.numTypesProperty.get()] = PathElementType.CLOSE;
  			this.numTypesProperty.set(this.numTypesProperty.get()+1);
  		}
  	}