Android.Graphics.Canvas.DrawRect Method
Draw the specified Rect using the specified paint.

Syntax

[Android.Runtime.Register("drawRect", "(Landroid/graphics/RectF;Landroid/graphics/Paint;)V", "GetDrawRect_Landroid_graphics_RectF_Landroid_graphics_Paint_Handler")]
public virtual void DrawRect (RectF rect, Paint paint)

Parameters

rect
The rect to be drawn
paint
The paint used to draw the rect

Remarks

Draw the specified Rect using the specified paint. The rectangle will be filled or framed based on the Style in the paint.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1