129130131132133134135136137138
break; default: value = RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR; } hints = new RenderingHints(RenderingHints.KEY_INTERPOLATION, value); } return hints; }