Xamarin.iOS Documentation | ComponentOne
C1.iOS.Core Assembly / C1.iOS.Core Namespace / IRenderEngine 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 _
    ) 
    'Usage
     
    
    Dim instance As IRenderEngine
    Dim x As Double
    Dim y As Double
    Dim w As Double
    Dim h As Double
     
    instance.DrawRect(x, y, w, h)
    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