Movie.Draw 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.
Overloads
| Name | Description |
|---|---|
| Draw(Canvas, Single, Single, Paint) |
Draws the selected movie frame with optional paint attributes. |
| Draw(Canvas, Single, Single) |
Draws the selected movie frame using default paint attributes. |
Draw(Canvas, Single, Single, Paint)
Draws the selected movie frame with optional paint attributes.
[Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;FFLandroid/graphics/Paint;)V", "GetDraw_Landroid_graphics_Canvas_FFLandroid_graphics_Paint_Handler")]
public virtual void Draw(Android.Graphics.Canvas? canvas, float x, float y, Android.Graphics.Paint? paint);
[<Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;FFLandroid/graphics/Paint;)V", "GetDraw_Landroid_graphics_Canvas_FFLandroid_graphics_Paint_Handler")>]
abstract member Draw : Android.Graphics.Canvas * single * single * Android.Graphics.Paint -> unit
override this.Draw : Android.Graphics.Canvas * single * single * Android.Graphics.Paint -> unit
Parameters
- canvas
- Canvas
The canvas that receives the movie frame.
- x
- Single
The horizontal position of the frame's upper-left corner.
- y
- Single
The vertical position of the frame's upper-left corner.
- paint
- Paint
The optional paint used to render the frame, or null for default paint attributes.
- Attributes
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
Draw(Canvas, Single, Single)
Draws the selected movie frame using default paint attributes.
[Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;FF)V", "GetDraw_Landroid_graphics_Canvas_FFHandler")]
public virtual void Draw(Android.Graphics.Canvas? canvas, float x, float y);
[<Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;FF)V", "GetDraw_Landroid_graphics_Canvas_FFHandler")>]
abstract member Draw : Android.Graphics.Canvas * single * single -> unit
override this.Draw : Android.Graphics.Canvas * single * single -> unit
Parameters
- canvas
- Canvas
The canvas that receives the movie frame.
- x
- Single
The horizontal position of the frame's upper-left corner.
- y
- Single
The vertical position of the frame's upper-left corner.
- Attributes
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.