ShapeField::DoHitTest Method (PointD, ShapeElement^, DiagramHitTestInfo^)

 

Performs a hit test on a specified point in the diagram to determine whether the point is in the bounds of the shape field.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual void DoHitTest(
	PointD point,
	ShapeElement^ parentShape,
	DiagramHitTestInfo^ diagramHitTestInfo
)

Parameters

point
Type: Microsoft.VisualStudio.Modeling.Diagrams::PointD

The point.

parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

The shape field.

diagramHitTestInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramHitTestInfo^

The hit test information that will be updated with the hit test results.

Return to top
Show: