hitTest Method

Summary

Performs hit-testing on this AnnArrowLineEnding.

Syntax
TypeScript
JavaScript
AnnArrowLineEnding.prototype.hitTest = function( 
   point, 
   hitTestBuffer, 
   lineStart, 
   lineEnd 
) 

Parameters

point

The LeadPointD to be tested.

hitTestBuffer

Threshold buffer value, in container units.

lineStart

The LeadPointD that represents the starting point of the line to which the ending style is being added.

lineEnd

The LeadPointD that represents the ending point of the line to which the ending style is being added.

Return Value

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

The lineStart and lineEnd points parameters represent the starting and ending points of the line.

If the object is a polyline object, then the parameters represent the starting and ending points of either the last or first line segment in the polyline (based on whether the ending style location is at the start or at the end of the polyline).

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

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