Package org.docx4j.vml

Examples of org.docx4j.vml.CTPath


            CTStroke stroke = vmlObjectFactory.createCTStroke();
            JAXBElement<org.docx4j.vml.CTStroke> strokeWrapped = vmlObjectFactory.createStroke(stroke);
            shapetype.getEGShapeElements().add( strokeWrapped);
                stroke.setJoinstyle(org.docx4j.vml.STStrokeJoinStyle.MITER);
            // Create object for path (wrapped in JAXBElement)
            CTPath path = vmlObjectFactory.createCTPath();
            JAXBElement<org.docx4j.vml.CTPath> pathWrapped = vmlObjectFactory.createPath(path);
            shapetype.getEGShapeElements().add( pathWrapped);
                path.setGradientshapeok(org.docx4j.vml.STTrueFalse.T);
                path.setConnecttype(org.docx4j.vml.officedrawing.STConnectType.RECT);
            shapetype.setCoordsize( "21600,21600");
            shapetype.setVmlId( "_x0000_t202");
            shapetype.setHralign(org.docx4j.vml.officedrawing.STHrAlign.LEFT);
            shapetype.setPath( "m,l,21600r21600,l21600,xe");
           
View Full Code Here

TOP

Related Classes of org.docx4j.vml.CTPath

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.