ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / RenderTarget Class / DrawRectangle(RectF,Brush,Single,StrokeStyle) Method

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

    Parameters

    rect
    brush
    strokeWidth
    strokeStyle
    See Also