ComponentOne Bitmap for WPF
DrawLine(Point2F,Point2F,Brush) Method

C1.WPF.DX.4 Assembly > C1.Util.DX.Direct2D Namespace > RenderTarget Class > DrawLine Method : DrawLine(Point2F,Point2F,Brush) Method
The start point of the line, in device-independent pixels.
The end point of the line, in device-independent pixels.
The brush used to paint the line's stroke.
Draws a line between the specified points.
Syntax
'Declaration
 
Public Overloads Sub DrawLine( _
   ByVal point0 As Point2F, _
   ByVal point1 As Point2F, _
   ByVal brush As Brush _
) 
public void DrawLine( 
   Point2F point0,
   Point2F point1,
   Brush brush
)

Parameters

point0
The start point of the line, in device-independent pixels.
point1
The end point of the line, in device-independent pixels.
brush
The brush used to paint the line's stroke.
See Also

Reference

RenderTarget Class
RenderTarget Members
Overload List