Canvas.setSelectionTolerance

Specifies a floating-point value indicating how close the mouse cursor must be to an item before it is considered to be 'inside' the item and able to select it. Defaults to 1.0.

class Canvas
setSelectionTolerance
(
this T
)
(
double tolerance
)

Parameters

tolerance double

The tolerance of the selection.

Return Value

Type: auto

This widget to aid method chaining.

Meta