[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.RenderTarget.DrawGeometry

DrawGeometry Method

DrawGeometry(Geometry, Brush)

Draws the outline of the specified geometry.

Declaration
public void DrawGeometry(Geometry geometry, Brush brush)
Parameters
Type Name Description
Geometry geometry

The geometry to draw.

Brush brush

The brush used to paint the geometry's stroke.

DrawGeometry(Geometry, Brush, float, StrokeStyle)

void ID2D1RenderTarget::DrawGeometry([In] ID2D1Geometry* geometry,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)

Declaration
public void DrawGeometry(Geometry geometry, Brush brush, float strokeWidth, StrokeStyle strokeStyle = null)
Parameters
Type Name Description
Geometry geometry
Brush brush
float strokeWidth
StrokeStyle strokeStyle