Gauge for WPF | ComponentOne
C1.WPF.Rendering Assembly / C1.WPF.Rendering Namespace / IRenderingEngine Interface / DrawLine Method
x-coordinate of first point.
y-coordinate of first point.
x-coordinate of second point.
y-coordinate of second point.

In This Topic
    DrawLine Method
    In This Topic
    Draw line between two points using current stroke attributes.
    Syntax
    'Declaration
     
    Sub DrawLine( _
       ByVal x1 As Double, _
       ByVal y1 As Double, _
       ByVal x2 As Double, _
       ByVal y2 As Double _
    ) 
    void DrawLine( 
       double x1,
       double y1,
       double x2,
       double y2
    )

    Parameters

    x1
    x-coordinate of first point.
    y1
    y-coordinate of first point.
    x2
    x-coordinate of second point.
    y2
    y-coordinate of second point.
    See Also