public IVisualCreator GetVisualCreator(IEdge edge, IEdgeStyle style)
 {
     this.style = (BpmnEdgeStyle)style;
     this.edge  = edge;
     delegateRenderer.GetVisualCreator(this.edge, this.style.delegateStyle);
     return(this);
 }
 // clone constructor
 private BpmnEdgeStyle(BpmnEdgeStyle other)
 {
     renderer = other.renderer;
     innerPen = other.innerPen;
     // We need to clone the wrapped style since our properties just delegate there
     delegateStyle = (PolylineEdgeStyle)other.delegateStyle.Clone();
     // setting the type updates all read-only properties
     Type     = other.Type;
     innerPen = other.innerPen;
 }
 public ILookup GetContext(IEdge edge, IEdgeStyle style)
 {
     this.style = (BpmnEdgeStyle)style;
     return(delegateRenderer.GetContext(edge, this.style.delegateStyle));
 }
 public IMarqueeTestable GetMarqueeTestable(IEdge edge, IEdgeStyle style)
 {
     this.style = (BpmnEdgeStyle)style;
     return(delegateRenderer.GetMarqueeTestable(edge, this.style.delegateStyle));
 }
 public IVisibilityTestable GetVisibilityTestable(IEdge edge, IEdgeStyle style)
 {
     this.style = (BpmnEdgeStyle)style;
     return(delegateRenderer.GetVisibilityTestable(edge, this.style.delegateStyle));
 }
 public IPathGeometry GetPathGeometry(IEdge edge, IEdgeStyle style)
 {
     this.style = (BpmnEdgeStyle)style;
     return(delegateRenderer.GetPathGeometry(edge, this.style.delegateStyle));
 }
 public IBoundsProvider GetBoundsProvider(IEdge edge, IEdgeStyle style)
 {
     this.style = (BpmnEdgeStyle)style;
     return(delegateRenderer.GetBoundsProvider(edge, this.style.delegateStyle));
 }