Shape.Draw(Canvas, Paint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Draws this shape into the provided Canvas, with the provided Paint.
[Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;Landroid/graphics/Paint;)V", "GetDraw_Landroid_graphics_Canvas_Landroid_graphics_Paint_Handler")]
public abstract void Draw (Android.Graphics.Canvas? canvas, Android.Graphics.Paint? paint);
[<Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;Landroid/graphics/Paint;)V", "GetDraw_Landroid_graphics_Canvas_Landroid_graphics_Paint_Handler")>]
abstract member Draw : Android.Graphics.Canvas * Android.Graphics.Paint -> unit
Parameters
- canvas
- Canvas
the Canvas within which this shape should be drawn
- paint
- Paint
the Paint object that defines this shape's characteristics
- Attributes
Remarks
Draws this shape into the provided Canvas, with the provided Paint.
Before calling this, you must call #resize(float,float)
.
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.