Examples of clipTo()


Examples of com.volantis.map.ics.imageprocessor.tool.clip.ClipXY.clipTo()

            // should try to crop the image.
            ClipXY clipper = new ClipXY(firstImage.getWidth(), preserveXLeft, preserveXRight,
                                        firstImage.getHeight(), ImageConstants.NO_CLIP_LEFT,
                                        ImageConstants.NO_CLIP_RIGHT);

            clipper.clipTo(newWidth, firstImage.getHeight());
            params.setObject(ParameterNames.CLIP_AREA, clipper);
        }

        return super.process(images, params);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.