語言

ViewGroup.OffsetDescendantRectToMyCoords(View, Rect) 方法

定義

將一個位於後代座標空間的矩形偏移到我們的座標空間中。

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

參數

descendant
View

此觀點的後裔

rect
Rect

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

屬性

備註

將一個位於後代座標空間的矩形偏移到我們的座標空間中。

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

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

適用於