Package javax.media.jai

Examples of javax.media.jai.ROIShape.intersects()


                // Fill the background.
                int maxTileY = ti.getMaxTileY();
                int maxTileX = ti.getMaxTileX();
                for(int j = ti.getMinTileY(); j <= maxTileY; j++) {
                    for(int i = ti.getMinTileX(); i <= maxTileX; i++) {
                        if(!roi.intersects(ti.getTileRect(i, j))) {
                            ti.setData(constImage.getTile(i, j),
                                       complementROI);
                        }
                    }
                }
View Full Code Here


/*      */
/* 1169 */         int maxTileY = ti.getMaxTileY();
/* 1170 */         int maxTileX = ti.getMaxTileX();
/* 1171 */         for (int j = ti.getMinTileY(); j <= maxTileY; j++) {
/* 1172 */           for (int i = ti.getMinTileX(); i <= maxTileX; i++) {
/* 1173 */             if (!roi.intersects(ti.getTileRect(i, j))) {
/* 1174 */               ti.setData(constImage.getTile(i, j), complementROI);
/*      */             }
/*      */
/*      */           }
/*      */
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.