code: public void setKnotBlend(int n, int type) {
  		knotTypes[n] = (byte)((knotTypes[n] & ~BLEND_MASK) | type);
  		rebuildGradient();
  	}
docs: Set a knot blend type.
  @param n the knot index
  @param type the knot blend type
  @see #getKnotBlend