語言

ViewGroup.OffsetRectIntoDescendantCoords(View, Rect) 方法

定義

將位於我們座標空間中的矩形偏移到祖先的座標空間。

[Android.Runtime.Register("offsetRectIntoDescendantCoords", "(Landroid/view/View;Landroid/graphics/Rect;)V", "")]
public void OffsetRectIntoDescendantCoords(Android.Views.View? descendant, Android.Graphics.Rect? rect);
[<Android.Runtime.Register("offsetRectIntoDescendantCoords", "(Landroid/view/View;Landroid/graphics/Rect;)V", "")>]
member this.OffsetRectIntoDescendantCoords : Android.Views.View * Android.Graphics.Rect -> unit

參數

descendant
View

此觀點的後裔

rect
Rect

一個定義於後代座標空間中的矩形。

屬性

備註

將位於我們座標空間中的矩形偏移到祖先的座標空間。

Java 文件 android.view.ViewGroup.offsetRectIntoDescendantCoords(android.view.View, android.graphics.Rect)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於