TvInteractiveAppService.Session.LayoutSurface 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為通過的 #onSetSurface曲面指派大小與位置。
[Android.Runtime.Register("layoutSurface", "(IIII)V", "GetLayoutSurface_IIIIHandler", ApiSince=33)]
public virtual void LayoutSurface(int left, int top, int right, int bottom);
[<Android.Runtime.Register("layoutSurface", "(IIII)V", "GetLayoutSurface_IIIIHandler", ApiSince=33)>]
abstract member LayoutSurface : int * int * int * int -> unit
override this.LayoutSurface : int * int * int * int -> unit
參數
- left
- Int32
相對於疊加視圖的左側像素位置。
- top
- Int32
相對於疊加圖的像素數最高位置。
- right
- Int32
相對於疊加視圖的像素數,正確的位置。
- bottom
- Int32
相對於疊加視圖的底部像素位置。
- 屬性
備註
為通過的 #onSetSurface曲面指派大小與位置。 該位置相對於位於該表面上方的疊加視圖。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。