Skip to content

Commit 113b4dc

Browse files
committed
document rounding
1 parent 56d109a commit 113b4dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/interactions/brush.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ The brush value dispatched on [_input_ events](#input-events). When the brush is
233233
- **filter** - a function to test whether a point is inside the selection
234234
- **pending** - `true` during interaction; absent when committed
235235
236-
By convention, *x1* < *x2* and *y1* < *y2*. The brushX value does not include *y1* and *y2*; similarly, the brushY value does not include *x1* and *x2*.
236+
By convention, *x1* < *x2* and *y1* < *y2*. The brushX value does not include *y1* and *y2*; similarly, the brushY value does not include *x1* and *x2*. Values are automatically rounded to the optimal precision that distinguishes neighboring pixels.
237237
238238
The **pending** property indicates the user is still interacting with the brush. To skip intermediate values and react only to committed selections:
239239

0 commit comments

Comments
 (0)