Example #1
0
 public BezierCurve(float x, float y, float width, float height, float arcstart, float arcEnd, bool isArc, Angle angle = default(Angle)) : this()
 {
     Initialize(x, y, width, height, arcstart, arcEnd, isArc, angle);
 }
Example #2
0
            void Initialize(float x, float y, float width, float height, float arcstart, float arcEnd, bool isArc, Angle angle = default(Angle))
            {
                Bounds = Factory.newRectangleF(x, y, width, height);

                StartAngle = arcstart;
                EndAngle = arcEnd;
                ei = new EllipseData(x, y, width, height, angle);

                IsArc = isArc;
                points = GetBezierArcPoints(this);
                ID = Factory.NewID(Name);
            }
Example #3
0
 public BezierCurve(float x, float y, float width, float height, Angle angle = default(Angle)) :
     this(x, y, width, height, 0, 0, false, angle)
 { }