Error processing SSI file
LEADTOOLS WPF (Leadtools.Windows.D2DRendering assembly)

Show in webframe

DrawArc Method






A D2DPen that determines the Pen's color, thickness, and style.
The starting point where the arc begins.
The ending point of the arc.
A Size structure that specifies the x- and y-radius of the arc.
A System.Windows.Media.SweepDirection value that specifies whether to draw the arc in the Clockwise or Counterclockwise direction.
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.
Draws the outline of an elliptical arc using the specified D2DPen.
Syntax
public void DrawArc( 
   D2DPen pen,
   Point startPoint,
   Point endPoint,
   Size size,
   SweepDirection sweepDirection,
   bool isLargeArc
)
'Declaration
 
Public Sub DrawArc( _
   ByVal pen As D2DPen, _
   ByVal startPoint As Point, _
   ByVal endPoint As Point, _
   ByVal size As Size, _
   ByVal sweepDirection As SweepDirection, _
   ByVal isLargeArc As Boolean _
) 
'Usage
 
Dim instance As D2DSurface
Dim pen As D2DPen
Dim startPoint As Point
Dim endPoint As Point
Dim size As Size
Dim sweepDirection As SweepDirection
Dim isLargeArc As Boolean
 
instance.DrawArc(pen, startPoint, endPoint, size, sweepDirection, 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

See Also

Reference

D2DSurface Class
D2DSurface Members

Error processing SSI file