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

In This Topic
    DrawLine(Point2F,Point2F,Brush,Single,StrokeStyle) Method
    In This Topic
    void ID2D1RenderTarget::DrawLine([In] D2D_POINT_2F point0,[In] D2D_POINT_2F point1,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)
    Syntax
    'Declaration
     
    Public Overloads Sub DrawLine( _
       ByVal point0 As Point2F, _
       ByVal point1 As Point2F, _
       ByVal brush As Brush, _
       ByVal strokeWidth As System.Single, _
       Optional ByVal strokeStyle As StrokeStyle _
    ) 
    public void DrawLine( 
       Point2F point0,
       Point2F point1,
       Brush brush,
       System.float strokeWidth,
       StrokeStyle strokeStyle
    )

    Parameters

    point0
    point1
    brush
    strokeWidth
    strokeStyle
    See Also