FillRectangle()
<< Click to Display Table of Contents >> FillRectangle() |
rect |
A RectangleF representing the rectangle to be drawn |
brush |
A Brush representing the brush to draw with |
RectangleF rect = new RectangleF();
rect.X = rectX; rect.Y = rectY; rect.Width = rectWidth; rect.Height = rectHeight;
RenderTarget.FillRectangle(rect, brush); |