public void Finish() { m_endPoint = GetPoint(m_pointId); m_owner.P1 = m_clone.P1; m_owner.P2 = m_clone.P2; m_clone = null; }
public IDrawObject Clone() { MultiConnectionLines a = new MultiConnectionLines(); a.Copy(this); return(a); }
public NodePointMultiConnectionLine(MultiConnectionLines owner, ePoint id) { m_owner = owner; m_clone = owner.Clone() as MultiConnectionLines; m_pointId = id; m_originalPoint = GetPoint(m_pointId); }
public void Copy(MultiConnectionLines acopy) { base.Copy(acopy); m_p1 = acopy.m_p1; m_p2 = acopy.m_p2; m_guid = acopy.m_guid; Selected = acopy.Selected; }
protected void SetPoint(ePoint pointid, UnitPoint point, MultiConnectionLines crv) { if (pointid == ePoint.P1) { crv.P1 = point; } if (pointid == ePoint.P2) { crv.P2 = point; } }
public void UpdateClone() { m_clone = m_owner.Clone() as MultiConnectionLines; }