Package org.apache.flex.swf.builders

Examples of org.apache.flex.swf.builders.ShapeBuilder


        // Note that we will apply node.x and node.y as a translation operation
        // in the PlaceObject3Tag3 Matrix and instead start the shape from the
        // origin (0.0, 0.0).
        Ellipse2D.Double ellipse = new Ellipse2D.Double(0.0, 0.0, node.width, node.height);
       
        ShapeBuilder builder = new ShapeBuilder();
        IShapeIterator iterator = new PathIteratorWrapper(ellipse.getPathIterator(null));
        builder.processShape(iterator);
        Shape shape = builder.build();
        return placeDefineShapeTag(node, shape.getShapeRecords(), node.fill, node.stroke, node.createGraphicContext());
    }
View Full Code Here

TOP

Related Classes of org.apache.flex.swf.builders.ShapeBuilder

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.