Core2D.Path.Segments.XCubicBezierSegment.Create C# (CSharp) Метод

Create() публичный статический Метод

Creates a new XCubicBezierSegment instance.
public static Create ( XPoint point1, XPoint point2, XPoint point3, bool isStroked, bool isSmoothJoin ) : XCubicBezierSegment
point1 Core2D.Shapes.XPoint The first control point.
point2 Core2D.Shapes.XPoint The second control point.
point3 Core2D.Shapes.XPoint The end point.
isStroked bool The flag indicating whether shape is stroked.
isSmoothJoin bool The flag indicating whether shape is smooth join.
Результат XCubicBezierSegment
        public static XCubicBezierSegment Create(XPoint point1, XPoint point2, XPoint point3, bool isStroked, bool isSmoothJoin)
        {
            return new XCubicBezierSegment()
            {
                Point1 = point1,
                Point2 = point2,
                Point3 = point3,
                IsStroked = isStroked,
                IsSmoothJoin = isSmoothJoin
            };
        }