Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
DrawingWindow Class
DrawingWindow Methods
Clear Method
DeleteVisual Method
DrawArc Method
DrawCircle Method
DrawCirle Method
DrawEllipse Method
DrawFilledCircle Method
DrawFilledEllipse Method
DrawFilledPolygon Method
DrawFilledRectangle Method
DrawFilledSquare Method
DrawLine Method
DrawPicture Method
DrawPoint Method
DrawPolygon Method
DrawRectangle Method
DrawSquare Method
DrawText Method
GetCanvasSize Method
GetFont Method
GetPenColor Method
GetPenThickness Method
SetCanvasSize Method
SetFont Method
SetPenColor Method
SetPenThickness Method
SetPercentScale Method
DrawingWindow
DrawCirle Method
Draws a circle of the specified radius, centered at (
X
,
Y
).
Namespace:
Algs4Net
Assembly:
Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
void
DrawCirle
(
DrawingVisual
v
,
double
x
,
double
y
,
double
radius
)
Parameters
v
Type:
System.Windows.Media
DrawingVisual
The rendered visual
x
Type:
System
Double
the
X
-coordinate of the center of the circle
y
Type:
System
Double
the
Y
-coordinate of the center of the circle
radius
Type:
System
Double
the radius of the circle
Exceptions
Exception
Condition
ArgumentException
if {@code radius} is negative
See Also
Reference
DrawingWindow Class
Algs4Net Namespace