/// <summary>
 /// Constructs a collection and assigns the collection to the given curve
 /// </summary>
 /// <param name="curve"></param>
 public BezierHandleCollection(BezierPainter curve)
 {
     this.mCurve = curve;
 }
Exemple #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="connection"></param>
 public BezierTracker(Connection connection) : base(connection.GetConnectionPoints())
 {
     mCurve   = connection.ConnectionPainter as BezierPainter;
     mHandles = mCurve.Handles;
 }
Exemple #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="curve"></param>
 public BezierTracker(BezierPainter curve) : base(curve.Points)
 {
     mCurve   = curve;
     mHandles = curve.Handles;
 }
 public BezierTracker(Connection connection)
     : base(connection.GetConnectionPoints())
 {
     mCurve = connection.mPainter as BezierPainter;
     mHandles = mCurve.Handles;
 }
 public BezierTracker(BezierPainter curve)
     : base(curve.Points)
 {
     mCurve = curve;
     mHandles = curve.Handles;
 }
Exemple #6
0
 /// <summary>
 /// Constructs a collection and assigns the collection to the given curve
 /// </summary>
 /// <param name="curve"></param>
 public BezierHandleCollection(BezierPainter curve)
 {
     this.mCurve = curve;
 }