modules/graphics/src/main/java/javafx/scene/effect/BoxBlur.java

Print this page

        

*** 274,289 **** }; } return iterations; } ! private int getClampedWidth() { ! return Utils.clamp(0, (int) getWidth(), 255); } ! private int getClampedHeight() { ! return Utils.clamp(0, (int) getHeight(), 255); } private int getClampedIterations() { return Utils.clamp(0, getIterations(), 3); } --- 274,289 ---- }; } return iterations; } ! private float getClampedWidth() { ! return (float) Utils.clamp(0, getWidth(), 255); } ! private float getClampedHeight() { ! return (float) Utils.clamp(0, getHeight(), 255); } private int getClampedIterations() { return Utils.clamp(0, getIterations(), 3); }