ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct2D Namespace / CommandSink Interface / DrawRectangle Method

In This Topic
    DrawRectangle Method (CommandSink)
    In This Topic
    HRESULT ID2D1CommandSink::DrawRectangle([In] const D2D_RECT_F* rect,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
    Syntax
    'Declaration
     
    Sub DrawRectangle( _
       ByVal rect As RectF, _
       ByVal brush As Brush, _
       ByVal strokeWidth As Single, _
       ByVal strokeStyle As StrokeStyle _
    ) 
    void DrawRectangle( 
       RectF rect,
       Brush brush,
       float strokeWidth,
       StrokeStyle strokeStyle
    )

    Parameters

    rect
    brush
    strokeWidth
    strokeStyle
    See Also