public void setInterpolation ( Interpolation value ) { Object old = getInterpolation ( ) ; this . interpolation = value == null ? Interpolation . NearestNeighbor : value ; if ( old != value ) setDirty ( true ) ; firePropertyChange ( "interpolation" , old , getInterpolation ( ) ) ; }
Sets a new value for the interpolation setting . This setting determines if interpolation should be used when drawing scaled images .