Canvas.DrawPath(Path, Paint) Method

Definition

Draw the specified path using the specified paint.

[Android.Runtime.Register("drawPath", "(Landroid/graphics/Path;Landroid/graphics/Paint;)V", "GetDrawPath_Landroid_graphics_Path_Landroid_graphics_Paint_Handler")]
public virtual void DrawPath (Android.Graphics.Path path, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawPath", "(Landroid/graphics/Path;Landroid/graphics/Paint;)V", "GetDrawPath_Landroid_graphics_Path_Landroid_graphics_Paint_Handler")>]
abstract member DrawPath : Android.Graphics.Path * Android.Graphics.Paint -> unit
override this.DrawPath : Android.Graphics.Path * Android.Graphics.Paint -> unit

Parameters

path
Path

The path to be drawn

paint
Paint

The paint used to draw the path

Attributes

Remarks

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

Java documentation for android.graphics.Canvas.drawPath(android.graphics.Path, android.graphics.Paint).

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