Examples of AreaHolder


Examples of open.dolphin.impl.scheam.holder.AreaHolder

    @Override
    public void mouseClicked(MouseEvent e) {
        // クリックの場合
        Ellipse2D whiteSpot = new Ellipse2D.Double();
        whiteSpot.setFrameFromCenter(start.x, start.y, start.x+8.0f, start.y+8.0f);
        AreaHolder sh = new AreaHolder(new Area(whiteSpot), eraserStroke, Color.WHITE, AlphaComposite.SrcOver, true);
        addShape(sh);
        canvas.repaint();
    }
View Full Code Here

Examples of open.dolphin.impl.scheam.holder.AreaHolder

    /**
     * Shape を AreaHolder に入れて drawingList に加える
     * @param Shape shape
     */
    public void addAreaShape(Shape shape) {
        AreaHolder sh = new AreaHolder(new Area(shape),
                properties.getStroke(),
                properties.getFillColor(),
                properties.getAlphaComposite(),
                properties.isFill());
        addShape(sh);
View Full Code Here

Examples of open.dolphin.impl.scheam.holder.AreaHolder

    /**
     * Shape を TextHolder に入れて drawingList に加える
     * @param shape
     */
    public void addTextShape(Shape shape) {
        AreaHolder sh = new TextHolder(new Area(shape),
                properties.getTextStroke(),
                properties.getTextColor(),
                properties.getTextComposite(),
                true);
        addShape(sh);
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.