←Select platform

HitTest Method

Summary

Performs hit-testing on this AnnSquareLineEnding.

Syntax
C#
C++
public override bool HitTest( 
   LeadPointD point, 
   double hitTestBuffer, 
   LeadPointD lineStart, 
   LeadPointD lineEnd 
) 
vb[VB Syntax] 
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

The threshold buffer value, in pixels.

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 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

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