←Select platform

HitTest Method

Summary

Performs hit-testing on this AnnRoundLineEnding.

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

Leadtools.Annotations.Engine Assembly