Example #1
0
		public Curve(Curve prototype): base(prototype)
		{
			mCurveType = prototype.CurveType;
			mTension = prototype.Tension;
			mControlPoints = (PointF[]) prototype.ControlPoints.Clone();
			DrawPath();
		}
Example #2
0
		public virtual Curve CreateCurve(PointF start,PointF end)
		{
			Curve curve = new Curve(start,end);

			OnCreateElement(curve);
			return curve;
		}
Example #3
0
		public virtual Curve CreateCurve()
		{
			Curve curve = new Curve();

			OnCreateElement(curve);
			return curve;
		}