Package com.jhlabs.image

Examples of com.jhlabs.image.RotateFilter


        }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);
    }
View Full Code Here


        } 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);
    }
View Full Code Here

TOP

Related Classes of com.jhlabs.image.RotateFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.