←Select platform

HitTest Method

Summary

Performs hit-testing on this AnnArrowLineEnding.

Syntax
C#
VB
C++
public override bool HitTest( 
   LeadPointD point, 
   double hitTestBuffer, 
   LeadPointD lineStart, 
   LeadPointD lineEnd 
) 
Public Overrides Function HitTest( 
   ByVal point As LeadPointD, 
   ByVal hitTestBuffer As Double, 
   ByVal lineStart As LeadPointD, 
   ByVal lineEnd As LeadPointD 
) As Boolean 
public:  
   virtual bool HitTest( 
      LeadPointD^ point, 
      double hitTestBuffer, 
      LeadPointD^ lineStart, 
      LeadPointD^ lineEnd 
   ) override 

Parameters

point

The LeadPointD to be tested.

hitTestBuffer

Threshold buffer value, in container units.

lineStart

The LeadPointD that represents the start point of the line for which to add ending style.

lineEnd

The LeadPointD that represents the end point of the line for which to add ending style.

Return Value

true if the test point intersects with the ending style; otherwise, false.

Remarks

The start and end points parameters represent the start and end points of the line. If the object is polyline, then they represent the start and end points for the last or first line segment in the polyline.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly