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

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

Creates a new XPolyLineSegment instance.
public static Create ( ImmutableArray points, bool isStroked, bool isSmoothJoin ) : XPolyLineSegment
points ImmutableArray The points array.
isStroked bool The flag indicating whether shape is stroked.
isSmoothJoin bool The flag indicating whether shape is smooth join.
Результат XPolyLineSegment
        public static XPolyLineSegment Create(ImmutableArray<XPoint> points, bool isStroked, bool isSmoothJoin)
        {
            return new XPolyLineSegment()
            {
                Points = points,
                IsStroked = isStroked,
                IsSmoothJoin = isSmoothJoin
            };
        }
XPolyLineSegment