Ejemplo n.º 1
0
        /// <inheritdoc/>
        public override void ArcTo(PointShape point, PathSize size, double rotationAngle = 0.0, bool isLargeArc = false, SweepDirection sweepDirection = SweepDirection.Clockwise, bool isStroked = true, bool isSmoothJoin = true)
        {
            var segment = ArcSegment.Create(
                point,
                size,
                rotationAngle,
                isLargeArc,
                sweepDirection,
                isStroked,
                isSmoothJoin);

            _currentFigure.Segments = _currentFigure.Segments.Add(segment);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Adds arc segment.
 /// </summary>
 /// <param name="point">The end point.</param>
 /// <param name="size">The arc size.</param>
 /// <param name="rotationAngle">The rotation angle.</param>
 /// <param name="isLargeArc">The is large flag.</param>
 /// <param name="sweepDirection">The sweep direction flag.</param>
 /// <param name="isStroked">The flag indicating whether shape is stroked.</param>
 /// <param name="isSmoothJoin">The flag indicating whether shape is smooth join.</param>
 public abstract void ArcTo(PointShape point, PathSize size, double rotationAngle, bool isLargeArc = false, SweepDirection sweepDirection = SweepDirection.Clockwise, bool isStroked = true, bool isSmoothJoin = true);