GeometryHitTestResult GeometryHitTestResult GeometryHitTestResult GeometryHitTestResult Class

定義

傳回使用 Geometry 作為點擊測試參數的點擊測試結果。Returns the results of a hit test that uses a Geometry as a hit test parameter.

public ref class GeometryHitTestResult : System::Windows::Media::HitTestResult
public class GeometryHitTestResult : System.Windows.Media.HitTestResult
type GeometryHitTestResult = class
    inherit HitTestResult
Public Class GeometryHitTestResult
Inherits HitTestResult
繼承
GeometryHitTestResultGeometryHitTestResultGeometryHitTestResultGeometryHitTestResult

備註

您也可以執行的視覺物件上的點擊的測試,使用Point做為點擊測試參數,並傳回結果做PointHitTestResultYou can also perform a hit test on a visual object by using a Point as a hit test parameter, and return the result as a PointHitTestResult.

建構函式

GeometryHitTestResult(Visual, IntersectionDetail) GeometryHitTestResult(Visual, IntersectionDetail) GeometryHitTestResult(Visual, IntersectionDetail) GeometryHitTestResult(Visual, IntersectionDetail)

使用指定的視覺物件和 GeometryHitTestResult 值,初始化 IntersectionDetail 類別的新執行個體。Initializes a new instance of the GeometryHitTestResult class by using a specified visual object and IntersectionDetail value.

屬性

IntersectionDetail IntersectionDetail IntersectionDetail IntersectionDetail

取得點擊測試的 IntersectionDetail 值。Gets the IntersectionDetail value of the hit test.

VisualHit VisualHit VisualHit VisualHit

取得從點擊測試結果傳回的視覺物件。Gets the visual object that is returned from a hit test result.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於