Esempio n. 1
0
        public IPolyQuadraticBezierSegment CreatePolyQuadraticBezierSegment(Point[] points)
        {
            var polyQuadraticBezierSegment = new PolyQuadraticBezierSegment();

            polyQuadraticBezierSegment.Points = points;
            return(polyQuadraticBezierSegment);
        }
Esempio n. 2
0
        public IPolyQuadraticBezierSegment CreatePolyQuadraticBezierSegment(IEnumerable <Point> points)
        {
            var polyQuadraticBezierSegment = new PolyQuadraticBezierSegment();

            polyQuadraticBezierSegment.Points.AddRange(points);
            return(polyQuadraticBezierSegment);
        }