7071727374757677
}else if(rotateParameters.isRandom()){ angle = rotateParameters.getRandomAngle(); } float radAngle = (float) (((360-angle)*Math.PI)/180); RotateFilter rotateFilter = new RotateFilter(radAngle); return rotateFilter.filter(image, null); }
540541542543544545546547548
} else { watermark = Utils.loadImage(watermarkImageText.getText()); } float angle = (float) (((360-rotateSlider.getValue())*Math.PI)/180); RotateFilter rotateFilter = new RotateFilter(angle); return rotateFilter.filter(watermark, null); }