Examples of SArea


Examples of org.joshy.sketch.model.SArea

                for(SNode node : selection) {
                    page.remove(node);
                    applyToArea(area, node, count);
                    count++;
                }
                final SArea sarea = new SArea(area);
                if(selection.get(0) instanceof SShape) {
                    SShape first = (SShape) selection.get(0);
                    sarea.setFillPaint(first.getFillPaint().duplicate());
                    sarea.setFillOpacity(first.getFillOpacity());
                    sarea.setStrokePaint(first.getStrokePaint());
                    sarea.setStrokeWidth(first.getStrokeWidth());
                }
                page.add(sarea);

                context.getSelection().setSelectedNode(sarea);
                context.getCanvas().redraw();
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.