NinePatch.Draw NinePatch.Draw Method

Definition

Overloads

Draw(Canvas, Rect) Draw(Canvas, Rect)

Draws the NinePatch.

Draw(Canvas, RectF) Draw(Canvas, RectF)

Draws the NinePatch.

Draw(Canvas, Rect, Paint) Draw(Canvas, Rect, Paint)

Draws the NinePatch.

Draw(Canvas, Rect) Draw(Canvas, Rect)

Draws the NinePatch.

[Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;Landroid/graphics/Rect;)V", "GetDraw_Landroid_graphics_Canvas_Landroid_graphics_Rect_Handler")]
public virtual void Draw (Android.Graphics.Canvas canvas, Android.Graphics.Rect location);
abstract member Draw : Android.Graphics.Canvas * Android.Graphics.Rect -> unit
override this.Draw : Android.Graphics.Canvas * Android.Graphics.Rect -> unit

Parameters

canvas
Canvas Canvas

A container for the current matrix and clip used to draw the NinePatch.

location
Rect Rect

Where to draw the NinePatch.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Draw(Canvas, RectF) Draw(Canvas, RectF)

Draws the NinePatch.

[Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;Landroid/graphics/RectF;)V", "GetDraw_Landroid_graphics_Canvas_Landroid_graphics_RectF_Handler")]
public virtual void Draw (Android.Graphics.Canvas canvas, Android.Graphics.RectF location);
abstract member Draw : Android.Graphics.Canvas * Android.Graphics.RectF -> unit
override this.Draw : Android.Graphics.Canvas * Android.Graphics.RectF -> unit

Parameters

canvas
Canvas Canvas

A container for the current matrix and clip used to draw the NinePatch.

location
RectF RectF

Where to draw the NinePatch.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Draw(Canvas, Rect, Paint) Draw(Canvas, Rect, Paint)

Draws the NinePatch.

[Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;Landroid/graphics/Rect;Landroid/graphics/Paint;)V", "GetDraw_Landroid_graphics_Canvas_Landroid_graphics_Rect_Landroid_graphics_Paint_Handler")]
public virtual void Draw (Android.Graphics.Canvas canvas, Android.Graphics.Rect location, Android.Graphics.Paint paint);
abstract member Draw : Android.Graphics.Canvas * Android.Graphics.Rect * Android.Graphics.Paint -> unit
override this.Draw : Android.Graphics.Canvas * Android.Graphics.Rect * Android.Graphics.Paint -> unit

Parameters

canvas
Canvas Canvas

A container for the current matrix and clip used to draw the NinePatch.

location
Rect Rect

Where to draw the NinePatch.

paint
Paint Paint

The Paint to draw through.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to