[]
Draws the outline of the specified geometry.
public void DrawGeometry(Geometry geometry, Brush brush)
Type | Name | Description |
---|---|---|
Geometry | geometry | The geometry to draw. |
Brush | brush | The brush used to paint the geometry's stroke. |
void ID2D1RenderTarget::DrawGeometry([In] ID2D1Geometry* geometry,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
public void DrawGeometry(Geometry geometry, Brush brush, float strokeWidth, StrokeStyle strokeStyle = null)
Type | Name | Description |
---|---|---|
Geometry | geometry | |
Brush | brush | |
float | strokeWidth | |
StrokeStyle | strokeStyle |