StreamGeometryContext::ArcTo Method (Point, Size, Double, Boolean, SweepDirection, Boolean, Boolean)
Draws an arc to the specified point.
Assembly: PresentationCore (in PresentationCore.dll)
public: virtual void ArcTo( Point point, Size size, double rotationAngle, bool isLargeArc, SweepDirection sweepDirection, bool isStroked, bool isSmoothJoin ) abstract
Parameters
- point
-
Type:
System.Windows::Point
The destination point for the end of the arc.
- size
-
Type:
System.Windows::Size
The radii (half the width and half the height) of an oval whose perimeter is used to draw the angle. If the oval is very rounded in all directions, the arc will be rounded, if it is nearly flat, so will the arc. For example, a very large width and height would represent a very large oval, which would give a slight curvature for the angle.
- rotationAngle
-
Type:
System::Double
The rotation angle of the oval that specifies the curve. The curvature of the arc can be rotated with this parameter.
- isLargeArc
-
Type:
System::Boolean
true to draw the arc greater than 180 degrees; otherwise, false.
- sweepDirection
-
Type:
System.Windows.Media::SweepDirection
A value that indicates whether the arc is drawn in the Clockwise or Counterclockwise direction.
- isStroked
-
Type:
System::Boolean
true to make the segment stroked when a Pen is used to render the segment; otherwise, false.
- isSmoothJoin
-
Type:
System::Boolean
true to treat the join between this segment and the previous segment as a corner when stroked with a Pen; otherwise, false.
This method uses the end point of the previous segment as its starting point. If this is the first segment in a figure, it uses the point specified by the BeginFigure method as its start point.
A StreamGeometry cannot be serialized if it contains a Transform or any non-stroked or unfilled segments.
Available since 3.0