UNPKG

@jbrowse/plugin-wiggle

Version:

JBrowse 2 wiggle adapters, tracks, etc.

22 lines (21 loc) 665 B
import type { ScaleOpts } from './util'; import type { AnyConfigurationModel } from '@jbrowse/core/configuration'; import type { Feature, Region } from '@jbrowse/core/util'; export declare function drawXY(ctx: CanvasRenderingContext2D, props: { stopToken?: string; features: Map<string, Feature> | Feature[]; bpPerPx: number; regions: Region[]; scaleOpts: ScaleOpts; height: number; ticks: { values: number[]; }; config: AnyConfigurationModel; displayCrossHatches: boolean; inverted: boolean; offset?: number; colorCallback: (f: Feature, score: number) => string; }): { reducedFeatures: Feature[]; };