UNPKG

@jbrowse/plugin-wiggle

Version:

JBrowse 2 wiggle adapters, tracks, etc.

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