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

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

Creates a new XArcSegment instance.
public static Create ( XPoint point, XPathSize size, double rotationAngle, bool isLargeArc, XSweepDirection sweepDirection, bool isStroked, bool isSmoothJoin ) : XArcSegment
point Core2D.Shapes.XPoint The end point.
size XPathSize The arc size.
rotationAngle double The rotation angle.
isLargeArc bool The is large flag.
sweepDirection XSweepDirection The sweep direction flag.
isStroked bool The flag indicating whether shape is stroked.
isSmoothJoin bool The flag indicating whether shape is smooth join.
Результат XArcSegment
        public static XArcSegment Create(XPoint point, XPathSize size, double rotationAngle, bool isLargeArc, XSweepDirection sweepDirection, bool isStroked, bool isSmoothJoin)
        {
            return new XArcSegment()
            {
                Point = point,
                Size = size,
                RotationAngle = rotationAngle,
                IsLargeArc = isLargeArc,
                SweepDirection = sweepDirection,
                IsStroked = isStroked,
                IsSmoothJoin = isSmoothJoin
            };
        }