←Select platform

HitTest Method

Summary

Performs hit-testing on this AnnArrowLineEnding.

Syntax
C#
C++/CLI
Python
public override bool HitTest( 
   LeadPointD point, 
   double hitTestBuffer, 
   LeadPointD lineStart, 
   LeadPointD lineEnd 
) 
public:  
   virtual bool HitTest( 
      LeadPointD^ point, 
      double hitTestBuffer, 
      LeadPointD^ lineStart, 
      LeadPointD^ lineEnd 
   ) override 
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 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 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.