public static XLineSegment Create(XPoint point, bool isStroked, bool isSmoothJoin) { return new XLineSegment() { Point = point, IsStroked = isStroked, IsSmoothJoin = isSmoothJoin }; }