Core2D.Path.Segments.XLineSegment.Create C# (CSharp) 메소드

Create() 공개 정적인 메소드

Creates a new XLineSegment instance.
public static Create ( XPoint point, bool isStroked, bool isSmoothJoin ) : XLineSegment
point 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.
리턴 XLineSegment
        public static XLineSegment Create(XPoint point, bool isStroked, bool isSmoothJoin)
        {
            return new XLineSegment()
            {
                Point = point,
                IsStroked = isStroked,
                IsSmoothJoin = isSmoothJoin
            };
        }