Share via


Camera.ApplyToCanvas(Canvas) Method

Definition

Computes the matrix corresponding to the current transformation and applies it to the specified Canvas.

[Android.Runtime.Register("applyToCanvas", "(Landroid/graphics/Canvas;)V", "GetApplyToCanvas_Landroid_graphics_Canvas_Handler")]
public virtual void ApplyToCanvas (Android.Graphics.Canvas? canvas);
[<Android.Runtime.Register("applyToCanvas", "(Landroid/graphics/Canvas;)V", "GetApplyToCanvas_Landroid_graphics_Canvas_Handler")>]
abstract member ApplyToCanvas : Android.Graphics.Canvas -> unit
override this.ApplyToCanvas : Android.Graphics.Canvas -> unit

Parameters

canvas
Canvas

The Canvas to set the transform matrix onto

Attributes

Remarks

Computes the matrix corresponding to the current transformation and applies it to the specified Canvas.

Java documentation for android.graphics.Camera.applyToCanvas(android.graphics.Canvas).

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