←Select platform

HitTest Method

Summary

Performs hit-testing on this AnnLineEnding.

Syntax
C#
C++/CLI
Python
public abstract bool HitTest( 
   LeadPointD point, 
   double hitTestBuffer, 
   LeadPointD lineStart, 
   LeadPointD lineEnd 
) 
public:  
   virtual bool HitTest( 
      LeadPointD^ point, 
      double hitTestBuffer, 
      LeadPointD^ lineStart, 
      LeadPointD^ lineEnd 
   ) abstract 
def HitTest(self,point,hitTestBuffer,lineStart,lineEnd): 

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 represents the start and end points of the line. If the object is polyline, then represents the start and end points for last or first line segment in the polyline.

Requirements

Target Platforms

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

Leadtools.Annotations.Engine Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.