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");