ShapeField::DoHitTest Method (PointD, ShapeElement^, DiagramHitTestInfo^)
Visual Studio 2015
Performs a hit test on a specified point in the diagram to determine whether the point is in the bounds of the shape field.
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.
Show: