TextureView.SetTransform(Matrix) Method

Definition

Sets the transform to associate with this texture view.

[Android.Runtime.Register("setTransform", "(Landroid/graphics/Matrix;)V", "GetSetTransform_Landroid_graphics_Matrix_Handler")]
public virtual void SetTransform (Android.Graphics.Matrix? transform);
[<Android.Runtime.Register("setTransform", "(Landroid/graphics/Matrix;)V", "GetSetTransform_Landroid_graphics_Matrix_Handler")>]
abstract member SetTransform : Android.Graphics.Matrix -> unit
override this.SetTransform : Android.Graphics.Matrix -> unit

Parameters

transform
Matrix

The transform to apply to the content of this view. If null the transform will be set to identity.

Attributes

Remarks

Sets the transform to associate with this texture view. The specified transform applies to the underlying surface texture and does not affect the size or position of the view itself, only of its content.

Some transforms might prevent the content from drawing all the pixels contained within this view's bounds. In such situations, make sure this texture view is not marked opaque.

Java documentation for android.view.TextureView.setTransform(android.graphics.Matrix).

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

See also