Reincharts
Preparing search index...
packages/interactive/src
Brush
Class Brush
Hierarchy
Component
<
BrushProps
,
BrushState
>
Brush
Index
Constructors
constructor
Properties
zoom
Happening?
default
Props
display
Name
Methods
draw
On
Canvas
handle
Draw
Square
handle
Zoom
Complete
handle
Zoom
Start
render
terminate
Constructors
constructor
new
Brush
(
props
:
BrushProps
)
:
Brush
Parameters
props
:
BrushProps
Returns
Brush
Properties
Private
Optional
zoom
Happening
zoomHappening
?:
boolean
Static
default
Props
defaultProps
:
{
fillStyle
:
string
;
strokeDashArray
:
string
;
strokeStyle
:
string
;
strokeWidth
:
number
;
}
= ...
Static
display
Name
displayName
:
string
= "Brush"
Methods
Private
Readonly
draw
On
Canvas
drawOnCanvas
(
ctx
:
CanvasRenderingContext2D
)
:
void
Parameters
ctx
:
CanvasRenderingContext2D
Returns
void
Private
Readonly
handle
Draw
Square
handleDrawSquare
(
_
:
MouseEvent
,
moreProps
:
any
)
:
void
Parameters
_
:
MouseEvent
moreProps
:
any
Returns
void
Private
Readonly
handle
Zoom
Complete
handleZoomComplete
(
_
:
MouseEvent
,
moreProps
:
any
)
:
void
Parameters
_
:
MouseEvent
moreProps
:
any
Returns
void
Private
Readonly
handle
Zoom
Start
handleZoomStart
(
_
:
MouseEvent
,
moreProps
:
any
)
:
void
Parameters
_
:
MouseEvent
moreProps
:
any
Returns
void
render
render
()
:
null
|
Element
Returns
null
|
Element
terminate
terminate
()
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
zoom
Happening
default
Props
display
Name
Methods
draw
On
Canvas
handle
Draw
Square
handle
Zoom
Complete
handle
Zoom
Start
render
terminate
Reincharts
Loading...