docs: public void removeLast() {
  		if (this.numTypes>0) {
  			switch(this.types[this.numTypes-1]) {
  			case CLOSE:
  				// no coord to remove
  				break;
  			case MOVE_TO:
  			case LINE_TO:
  				this.numCoords -= 3;
  				break;
  			case CURVE_TO:
  				this.numCoords -= 9;
  				this.isPolyline = null;
  				break;
  			case QUAD_TO:
  				this.numCoords -= 6;
  				this.isPolyline = null;
  				break;
  			default:
  				throw new IllegalStateException();
  			}
  			--this.numTypes;
  			this.isEmpty = null;
  			this.graphicalBounds = null;
  			this.logicalBounds = null;
  		}
  	}