UNPKG

canvas-editor-pdf

Version:
17 lines (15 loc) 639 B
import { Context2d } from 'jspdf'; import { IElement, IElementPosition } from '../../../interface/Element'; import { IRow } from '../../../interface/Row'; import { DrawPdf } from '../DrawPdf'; export declare class ListParticle { private draw; private options; private readonly UN_COUNT_STYLE_WIDTH; private readonly MEASURE_BASE_TEXT; private readonly LIST_GAP; constructor(draw: DrawPdf); computeListStyle(elementList: IElement[]): Map<string, number>; getListStyleWidth(listElementList: IElement[]): number; drawListStyle(ctx2d: Context2d, row: IRow, position: IElementPosition): void; }