using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClearSlideLibrary.HtmlController { class HtmlConnectionShape:HtmlPresentationElement { public HtmlConnectionShape(string id, int width, int height, int top, int left, bool invisible, bool animatable) { base.id = id; base.top = top; base.left = left; base.width = width; base.height = height; base.invisible = invisible; base.animatable = animatable; } public override string DrawElement() { StringBuilder connectionShapeBuilder = new StringBuilder(); string style = invisible ? "DC0" : "DC1"; //the object has animation. if (animatable) { connectionShapeBuilder.Append("