public DrawRect ( |
||
pen | ||
left | int | |
top | int | |
width | int | |
height | int | |
return | void |
public void DrawRect(GDIPen pen, int left, int top, int width, int height)
{
DrawLine(pen, new Point(left, top), new Point(left + width, top));
DrawLine(pen, new Point(left, top + height), new Point(left + width, top + height));
DrawLine(pen, new Point(left, top), new Point(left, top + height));
DrawLine(pen, new Point(left + width, top), new Point(left + width, top + height + 1));
}
GDISurface::DrawRect ( Color color, int left, int top, int width, int height ) : void |