DrawRectangle()
<< Click to Display Table of Contents >> DrawRectangle() |
rect |
A RectangleF representing the rectangle to be drawn |
brush |
A Brush representing the brush to draw with |
strokeWidth |
A float representing the width of the stroke |
strokeStyle |
A StrokeStyle representing the stroke's style |
RectangleF rect = new RectangleF();
rect.X = rectX; rect.Y = rectY; rect.Width = rectWidth; rect.Height = rectHeight;
RenderTarget.DrawRectangle(rect, Stroke.BrushDX, Stroke.Width, Stroke.StrokeStyle); |