public override GraphicElement CloneDefault(Canvas canvas, Point offset) { AgentReceptorShape shape = new AgentReceptorShape(canvas); shape.DisplayRectangle = shape.DefaultRectangle().Move(offset); shape.UpdateProperties(); shape.UpdatePath(); return(shape); }
public AgentReceptorProperties(AgentReceptorShape el) : base(el) { AgentName = el.AgentName; Enabled = el.Enabled; }