NativeActivity.SurfaceChanged(ISurfaceHolder, Format, Int32, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ceci est appelé immédiatement après les modifications structurelles (format ou taille) apportées à la surface.
[Android.Runtime.Register("surfaceChanged", "(Landroid/view/SurfaceHolder;III)V", "GetSurfaceChanged_Landroid_view_SurfaceHolder_IIIHandler")]
public virtual void SurfaceChanged(Android.Views.ISurfaceHolder? holder, Android.Graphics.Format format, int width, int height);
[<Android.Runtime.Register("surfaceChanged", "(Landroid/view/SurfaceHolder;III)V", "GetSurfaceChanged_Landroid_view_SurfaceHolder_IIIHandler")>]
abstract member SurfaceChanged : Android.Views.ISurfaceHolder * Android.Graphics.Format * int * int -> unit
override this.SurfaceChanged : Android.Views.ISurfaceHolder * Android.Graphics.Format * int * int -> unit
Paramètres
- holder
- ISurfaceHolder
SurfaceHolder dont la surface a changé.
- format
- Format
Nouveau PixelFormat de la surface.
- width
- Int32
Nouvelle largeur de la surface.
- height
- Int32
Nouvelle hauteur de la surface.
Implémente
- Attributs
Remarques
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.