Gauge for WPF | ComponentOne
C1.WPF.Rendering Assembly / C1.WPF.Rendering Namespace / IRenderingEngine Interface / DrawRect Method
x-coordinate of rectangle.
y-coordinate of rectangle.
Rectangle width.
Rectangle height.

In This Topic
    DrawRect Method
    In This Topic
    Draw rectangle with currect stroke and fill.
    Syntax
    'Declaration
     
    Sub DrawRect( _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal w As Double, _
       ByVal h As Double _
    ) 
    void DrawRect( 
       double x,
       double y,
       double w,
       double h
    )

    Parameters

    x
    x-coordinate of rectangle.
    y
    y-coordinate of rectangle.
    w
    Rectangle width.
    h
    Rectangle height.
    See Also