DrawArc Method

Summary
Draws the outline of an elliptical arc using the specified D2DPen.
Syntax
C#
C++/CLI
public void DrawArc( 
   D2DPen pen, 
   Point startPoint, 
   Point endPoint, 
   Size size, 
   SweepDirection sweepDirection, 
   bool isLargeArc 
) 
public: 
void DrawArc(  
   D2DPen^ pen, 
   Point startPoint, 
   Point endPoint, 
   Size size, 
   SweepDirection sweepDirection, 
   bool isLargeArc 
)  

Parameters

pen
A D2DPen that determines the Pen's color, thickness, and style.

startPoint
The starting point where the arc begins.

endPoint
The ending point of the arc.

size
A Size structure that specifies the x- and y-radius of the arc.

sweepDirection
A System.Windows.Media.SweepDirection value that specifies whether to draw the arc in the Clockwise or Counterclockwise direction.

isLargeArc
The value that indicates whether the arc should be greater than 180 degrees. Set it to "true" if the arc should be greater than 180 degrees, and "false" if it should be less than 180 degrees.

Remarks

An elliptical arc is defined by its starting and ending points, x- and y-radius, a value indicating whether the arc should be greater than 180 degrees, and a value describing the direction in which the arc is drawn.

Requirements

Target Platforms

Help Version 22.0.2023.1.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.D2DRendering Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.