示例#1
0
 public void Finish()
 {
     m_endPoint = GetPoint(m_pointId);
     m_owner.P1 = m_clone.P1;
     m_owner.P2 = m_clone.P2;
     m_clone    = null;
 }
示例#2
0
        public IDrawObject Clone()
        {
            MultiConnectionLines a = new MultiConnectionLines();

            a.Copy(this);
            return(a);
        }
示例#3
0
 public NodePointMultiConnectionLine(MultiConnectionLines owner, ePoint id)
 {
     m_owner         = owner;
     m_clone         = owner.Clone() as MultiConnectionLines;
     m_pointId       = id;
     m_originalPoint = GetPoint(m_pointId);
 }
示例#4
0
 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;
 }
示例#5
0
 protected void SetPoint(ePoint pointid, UnitPoint point, MultiConnectionLines crv)
 {
     if (pointid == ePoint.P1)
     {
         crv.P1 = point;
     }
     if (pointid == ePoint.P2)
     {
         crv.P2 = point;
     }
 }
示例#6
0
 public void UpdateClone()
 {
     m_clone = m_owner.Clone() as MultiConnectionLines;
 }