Examples of plotPattern()


Examples of com.agifans.picedit.picture.Picture.plotPattern()

                        picture.addPictureCode(PictureCodeType.SET_BRUSH_TYPE);
                        picture.addPictureCode(PictureCodeType.BRUSH_TYPE_DATA, editStatus.getBrushCode());
                        picture.addPictureCode(PictureCodeType.DRAW_BRUSH_POINT);
                    }
                    patNum = (((new java.util.Random().nextInt(255)) % 0xEE) >> 1) & 0x7F;
                    picture.plotPattern(patNum, x, y);
                    if (editStatus.getBrushTexture() == BrushTexture.SPRAY) {
                        picture.addPictureCode(PictureCodeType.BRUSH_PATTERN_DATA, patNum << 1);
                    }
                    picture.addPictureCode(PictureCodeType.BRUSH_POINT_DATA, x, y);
                } else if (editStatus.isStepActive()) {
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.