Android.Graphics.Drawables.ShapeDrawable.OnDraw Method
Called from the drawable's draw() method after the canvas has been set to draw the shape at (0,0).

Syntax

[Android.Runtime.Register("onDraw", "(Landroid/graphics/drawable/shapes/Shape;Landroid/graphics/Canvas;Landroid/graphics/Paint;)V", "GetOnDraw_Landroid_graphics_drawable_shapes_Shape_Landroid_graphics_Canvas_Landroid_graphics_Paint_Handler")]
protected virtual void OnDraw (Android.Graphics.Drawables.Shapes.Shape shape, Android.Graphics.Canvas canvas, Android.Graphics.Paint paint)

Parameters

shape
Documentation for this section has not yet been entered.
canvas
Documentation for this section has not yet been entered.
paint
Documentation for this section has not yet been entered.

Remarks

Called from the drawable's draw() method after the canvas has been set to draw the shape at (0,0). Subclasses can override for special effects such as multiple layers, stroking, etc.

[Android Documentation]

Requirements

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