Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- endPoint
- A System.Drawing.PointF which represents the coordinate of the end point for the rectangle being drawn.
- color
- A System.Drawing.Color which represents the color used to draw the rectangle.
- fill
- A boolean value which when true, the Color parameter is used to fill the rectangle and the FillColor and FillStyle properties are ignored.