public static ShapeElement Create(string name, SlideElement slide) { ShapeElement shape = new ShapeElement(); if (!shape.Parse(name, slide)) { return(null); } return(shape); }