public TransitionContactPointCircleGlyph(Point centre, int radius, IGlyph parent, TransitionContactEnd whichEnd, TransitionContactPointCircleGlyph otherEnd)
     : base(centre, radius)
 {
     this.Parent = parent;
     this._WhichEnd = whichEnd;
     this._OtherEnd = otherEnd;
 }
 public TransitionContactPointCircleGlyph(Point centre, int radius, IGlyph parent, TransitionContactEnd whichEnd, TransitionContactPointCircleGlyph otherEnd)
     : base(centre, radius)
 {
     this.Parent    = parent;
     this._WhichEnd = whichEnd;
     this._OtherEnd = otherEnd;
 }
Esempio n. 3
0
        protected void BuildContactPoints()
        {
            int radius = 5;
            TransitionContactPointCircleGlyph fromEnd = new TransitionContactPointCircleGlyph(_From, radius - 1, this, TransitionContactEnd.From, null);

            AddContactPoint(fromEnd);
            AddContactPoint(new TransitionContactPointCircleGlyph(_To, radius, this, TransitionContactEnd.To, fromEnd));
        }
 protected void BuildContactPoints()
 {
     int radius = 5;
     TransitionContactPointCircleGlyph fromEnd = new TransitionContactPointCircleGlyph (_From, radius - 1, this, TransitionContactEnd.From, null);
     AddContactPoint (fromEnd);
     AddContactPoint (new TransitionContactPointCircleGlyph (_To, radius, this, TransitionContactEnd.To, fromEnd));
 }