DrawableWrapper.Draw(Canvas) 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 the wrapped drawable on the canvas, if one is set.
[Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;)V", "GetDraw_Landroid_graphics_Canvas_Handler", ApiSince=23)]
public override void Draw(Android.Graphics.Canvas canvas);
[<Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;)V", "GetDraw_Landroid_graphics_Canvas_Handler", ApiSince=23)>]
override this.Draw : Android.Graphics.Canvas -> unit
Parameters
- canvas
- Canvas
The canvas passed to the wrapped drawable when one is present.
- Attributes
Remarks
The wrapped drawable determines how alpha and color filters affect its drawing.
Android reference for android.graphics.drawable.DrawableWrapper.draw.
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.