Package org.docx4j.vml

Examples of org.docx4j.vml.CTStroke


        pict.getAnyAndAny().add( shapetypeWrapped);
            shapetype.setInsetmode(org.docx4j.vml.officedrawing.STInsetMode.CUSTOM);
            shapetype.setSpt( new Float(202.0) );
            shapetype.setConnectortype(org.docx4j.vml.officedrawing.STConnectorType.STRAIGHT);
            // Create object for stroke (wrapped in JAXBElement)
            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);
View Full Code Here

TOP

Related Classes of org.docx4j.vml.CTStroke

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.