import { Glyph, GlyphView } from "./glyph"; import { Selection } from "../selections/selection"; import { LineVector, FillVector, HatchVector } from "../../core/property_mixins"; import type { PointGeometry, SpanGeometry, RectGeometry } from "../../core/geometry"; import type { Arrayable, Rect } from "../../core/types"; import type * as visuals from "../../core/visuals"; import type { Context2d } from "../../core/util/canvas"; import type { SpatialIndex } from "../../core/util/spatial"; import * as p from "../../core/properties"; export interface VStripView extends VStrip.Data { } export declare class VStripView extends GlyphView { model: VStrip; visuals: VStrip.Visuals; lazy_initialize(): Promise; get sleft(): Arrayable; get sright(): Arrayable; get stop(): Arrayable; get sbottom(): Arrayable; protected _set_data(indices: number[] | null): void; protected _index_data(index: SpatialIndex): void; protected _bounds(bounds: Rect): Rect; protected _map_data(): void; scenterxy(i: number): [number, number]; protected _paint(ctx: Context2d, indices: number[], data?: Partial): void; protected _get_candidates(sx0: number, sx1?: number): Iterable; protected _find_strips(candidates: Iterable, fn: (sx0: number, sx1: number) => boolean): number[]; protected _hit_point(geometry: PointGeometry): Selection; protected _hit_span(geometry: SpanGeometry): Selection; protected _hit_rect(geometry: RectGeometry): Selection; draw_legend_for_index(ctx: Context2d, bbox: Rect, index: number): void; } export declare namespace VStrip { type Attrs = p.AttrsOf; type Props = Glyph.Props & { x0: p.CoordinateSpec; x1: p.CoordinateSpec; } & Mixins; type Mixins = LineVector & FillVector & HatchVector; type Visuals = Glyph.Visuals & { line: visuals.LineVector; fill: visuals.FillVector; hatch: visuals.HatchVector; }; type Data = p.GlyphDataOf & { max_width: number; }; } export interface VStrip extends VStrip.Attrs { } export declare class VStrip extends Glyph { properties: VStrip.Props; __view_type__: VStripView; constructor(attrs?: Partial); } //# sourceMappingURL=vstrip.d.ts.map