Esempio n. 1
0
 /// <summary>
 ///     Initializes a new instance of Arrow with a Dot as start point and a
 ///     Point as end-point, and arrowheads where specified by the
 ///     endtypes parameter.
 /// </summary>
 /// <param name="sp">The starting point</param>
 /// <param name="ep">The ending point</param>
 /// <param name="endtypes">endtype constant saying which end(s) should have arrowhead(s)</param>
 private void constructionHelper3(Dot sp, Point ep, endtype endtypes)
 {
     ends      = endtypes;
     BasePoint = sp.Position;
     Tip       = ep;
     constructBasics();
     setToolTip();
     buildBindings(sp, null);
 }
Esempio n. 2
0
 /// <summary>
 ///     Initializes a new instance of Arrow with a Point as start point and a
 ///     Dot as end-point, and arrowheads where specified by the
 ///     endtypes parameter.
 /// </summary>
 /// <param name="sp">The starting point</param>
 /// <param name="ep">The ending point</param>
 /// <param name="endtypes">endtype constant saying which end(s) should have arrowhead(s)</param>
 public void constructionHelper4(Point sp, Dot ep, endtype endtypes)
 {
     ends      = endtypes;
     BasePoint = sp;
     Tip       = ep.Position;
     constructBasics();
     //setToolTip();
     buildBindings(null, ep);
 }
Esempio n. 3
0
 /// <summary>
 /// Set the start and end point, and the arrowhead types for this arrow.
 /// </summary>
 /// <param name="sp">Location of the arrow start</param>
 /// <param name="ep">Location of arrow end</param>
 /// <param name="endtypes">endtype constant saying which end(s) should have arrowhead(s)</param>
 private void constructionHelper1(Point sp, Point ep, endtype endtypes)
 {
     ends      = endtypes;
     BasePoint = sp;
     Tip       = ep;
     constructBasics();
     setToolTip();
     buildBindings(null, null);
 }
Esempio n. 4
0
 /// <summary>
 ///     Initializes a new instance of Arrow with a Point as start point and a
 ///     Dot as end-point, and arrowheads where specified by the
 ///     endtypes parameter.
 /// </summary>
 /// <param name="sp">The starting point</param>
 /// <param name="ep">The ending point</param>
 /// <param name="endtypes">endtype constant saying which end(s) should have arrowhead(s)</param>
 public Arrow(Point sp, Dot ep, endtype endtypes)
 {
     constructionHelper4(sp, ep, endtypes);
 }
Esempio n. 5
0
 /// <summary>
 ///     Initializes a new instance of Arrow with a Dot as start point and a
 ///     Point as end-point, and arrowheads where specified by the
 ///     endtypes parameter.
 /// </summary>
 /// <param name="sp">The starting point</param>
 /// <param name="ep">The ending point</param>
 /// <param name="endtypes">endtype constant saying which end(s) should have arrowhead(s)</param>
 public Arrow(Dot sp, Point ep, endtype endtypes)
 {
     constructionHelper3(sp, ep, endtypes);
 }
Esempio n. 6
0
 /// <summary>
 ///     Initializes a new instance of Arrow with specified Dots as start
 ///     and end-points, and arrowheads where specified by the
 ///     endtypes parameter.
 /// </summary>
 /// <param name="sp">The starting point</param>
 /// <param name="ep">The ending point</param>
 /// <param name="endtypes">endtype constant saying which end(s) should have arrowhead(s)</param>
 public Arrow(Dot sp, Dot ep, endtype endtypes)
 {
     constructionHelper2(sp, ep, endtypes);
 }
Esempio n. 7
0
        /// <summary>
        /// Initializes a new instance of Arrow with specified Points as start and end-points,
        /// and with specified end types: endtype.START, endtype.END, or endtype.BOTH

        /// </summary>
        /// <param name="sp">Starting point</param>
        /// <param name="ep">Ending point</param>
        /// <param name="ends">The endtype constant indicating which end(s) should have arrowhead(s)</param>
        public Arrow(Point sp, Point ep, endtype ends)
        {
            constructionHelper1(sp, ep, ends);
        }