UNPKG

@equinor/videx-wellog

Version:

Visualisation components for wellbore log data

28 lines (27 loc) 773 B
import { DipPlotCategory } from './interfaces'; /** * DipShape */ export default class DipShape { ctx: CanvasRenderingContext2D; category: DipPlotCategory; azimuth: number; x1: number; y1: number; private length; private radius; private barLength; private tailLength; private teeLength; constructor(ctx: CanvasRenderingContext2D, category: DipPlotCategory, azimuth: number, x1: number, y1: number); draw(): void; drawArc(): void; addFill(color?: string): void; addStroke(color?: string): void; drawTail(): void; drawPolygon(radius: number, sides: number, x1?: number, y1?: number, azimuth?: number): void; drawCircle(): void; drawSphere(): void; drawBreakout(): void; drawTee(): void; }