[]
void ID2D1RenderTarget::DrawRectangle([In] const D2D_RECT_F* rect,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
public void DrawRectangle(RectF rect, Brush brush, float strokeWidth, StrokeStyle strokeStyle = null)
| Type | Name | Description |
|---|---|---|
| RectF | rect | |
| Brush | brush | |
| float | strokeWidth | |
| StrokeStyle | strokeStyle |
void ID2D1RenderTarget::DrawRectangle([In] const D2D_RECT_F* rect,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
[CLSCompliant(false)]
public void DrawRectangle(ref RectF rect, Brush brush, float strokeWidth, StrokeStyle strokeStyle = null)
| Type | Name | Description |
|---|---|---|
| RectF | rect | |
| Brush | brush | |
| float | strokeWidth | |
| StrokeStyle | strokeStyle |