LEADTOOLS JavaScript (Leadtools.Controls)

HitTestBuffer Property

Show in webframe
Gets or sets the hit test buffer.
Syntax
get_hitTestBuffer();
set_hitTestBuffer(value);
Object.defineProperty('hitTestBuffer');

Property Value

TypeDescription
intThe hit test buffer. Default value is 0.
Remarks

The hit test buffer is used to make the test point "bigger" to compensate for errors and provide smoother hit-testing. For example, if the buffer value is 2, a square with sides 4 pixels long will be used around the test point to perform the hit-testing. This can be very useful when the target element is small in size on a touch device.

See Also

Reference

InteractiveService Object
InteractiveService Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.