Package com.agifans.picedit.types

Examples of com.agifans.picedit.types.PictureType


     * Constructor for Picture.
     *
     * @param editStatus the EditStatus containing current editing status.
     */
    public Picture(EditStatus editStatus) {
        PictureType pictureType = editStatus.getPictureType();

        this.visualScreen = new int[pictureType.getNumberOfPixels()];
        this.visualImage = createScreenImage(pictureType.getWidth(), pictureType.getHeight(), visualScreen);
        this.priorityScreen = new int[pictureType.getNumberOfPixels()];
        this.priorityImage = createScreenImage(pictureType.getWidth(), pictureType.getHeight(), priorityScreen);

        if (pictureType.equals(PictureType.SCI0)) {
            this.controlScreen = new int[pictureType.getNumberOfPixels()];
            this.controlImage = createScreenImage(pictureType.getWidth(), pictureType.getHeight(), controlScreen);
        }

        this.editStatus = editStatus;
        this.pictureCache = new PictureCache(editStatus);
        this.pictureChangeListeners = new ArrayList<PictureChangeListener>();
View Full Code Here

TOP

Related Classes of com.agifans.picedit.types.PictureType

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.