DrawingWindowDrawFilledSquare Method |
Draws a filled square of the specified size, centered at (X, Y).
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public DrawingVisual DrawFilledSquare(
double x,
double y,
double halfLength
)
Parameters
- x
- Type: SystemDouble
the X-coordinate of the center of the square - y
- Type: SystemDouble
the Y-coordinate of the center of the square - halfLength
- Type: SystemDouble
one half the side of the square
Return Value
Type:
DrawingVisualA drawing visual as handle to the drawing
Exceptions See Also