get_hitTestBuffer();
set_hitTestBuffer(value);
Object.defineProperty('hitTestBuffer');
Type | Description |
---|---|
int | The hit test buffer, in pixels, for this AnnRunDesigner. This must be a value greater than or equal to 0. The default value is 1. |
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 a length of 4 pixels around the test point will be used to perform the hit-testing.