Callable
-
Parameters
Returns void
-
Parameters
Returns void
Methods
clamp
- clamp(): boolean | [boolean, boolean]
- clamp(clamp: boolean | [boolean, boolean]): Brush<T>
-
Returns boolean
|
[boolean, boolean]
-
Parameters
-
clamp: boolean | [boolean, boolean]
Returns Brush<T>
event
-
Parameters
Returns void
-
Parameters
Returns void
extent
- extent(): [number, number] | [[number, number], [number, number]]
- extent(extent: [number, number] | [[number, number], [number, number]]): Brush<T>
-
Returns [number, number]
|
[[number, number], [number, number]]
-
Parameters
-
extent: [number, number] | [[number, number], [number, number]]
Returns Brush<T>
on
- on(type: "brushstart"): function
- on(type: "brush"): function
- on(type: "brushend"): function
- on(type: string): function
- on(type: "brushstart", listener: function): Brush<T>
- on(type: "brush", listener: function): Brush<T>
- on(type: "brushend", listener: function): Brush<T>
- on(type: string, listener: function): Brush<T>
-
Parameters
Returns function
-
- (datum: T, index: number): void
-
Parameters
Returns function
-
- (datum: T, index: number): void
-
Parameters
Returns function
-
- (datum: T, index: number): void
-
Parameters
Returns function
-
- (datum: T, index: number): void
-
Parameters
-
type: "brushstart"
-
listener: function
-
- (datum: T, index: number): void
Returns Brush<T>
-
Parameters
-
type: "brush"
-
listener: function
-
- (datum: T, index: number): void
Returns Brush<T>
-
Parameters
-
type: "brushend"
-
listener: function
-
- (datum: T, index: number): void
Returns Brush<T>
-
Parameters
-
type: string
-
listener: function
-
- (datum: T, index: number): void
Returns Brush<T>
x
-
-
Parameters
Returns Brush<T>
y
-
-
Parameters
Returns Brush<T>