TrackRenderProps
Defined in: packages/components/src/components/GenomeBrowser/types.ts:49
What every track renderer, built-in or custom, receives.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T extends GenomeTrack |
GenomeTrack |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
track |
T |
- |
scale |
LinearScale |
Genome coordinate → pixel x, for the current viewport. |
viewport |
Viewport |
- |
width |
number |
Pixel width of the track’s drawable area. |
height |
number |
Pixel height allotted to this track. |