Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Annotations.Rendering Namespace > AnnThumbStyle Class : HitTest Method |
public virtual bool HitTest( LeadPointD location, LeadPointD testPoint, double hitTestBuffer )
'Declaration
Public Overridable Function HitTest( _ ByVal location As LeadPointD, _ ByVal testPoint As LeadPointD, _ ByVal hitTestBuffer As Double _ ) As Boolean
'Usage
Dim instance As AnnThumbStyle Dim location As LeadPointD Dim testPoint As LeadPointD Dim hitTestBuffer As Double Dim value As Boolean value = instance.HitTest(location, testPoint, hitTestBuffer)
public virtual bool HitTest( LeadPointD location, LeadPointD testPoint, double hitTestBuffer )
- (BOOL)hitTestPoint:(LeadPointD)location
testPoint:(LeadPointD)testPoint
buffer:(double)buffer
public boolean hitTest(LeadPointD location, LeadPointD testPoint, double hitTestBuffer)
function Leadtools.Annotations.Rendering.AnnThumbStyle.HitTest( location , testPoint , hitTestBuffer )
The automation framework will call HitTest repeatedly to determine if a user input location is over a thumb. For example, to determine if the framework should start dragging a side of a selected object or to start rotating it.