import type { Image } from '../Image.js'; import type { Point } from '../utils/geometry/points.js'; export interface DrawLineOnImageOptions { /** * Color of the line - An array of numerical values, one for each channel of the image. If less values are defined than there are channels in the image, the remaining channels will be set to 0. * @default A black pixel. */ strokeColor?: number[]; /** * Origin of the line relative to a parent image (top-left corner). * @default `{row: 0, column: 0}` */ origin?: Point; /** * Image to which the resulting image has to be put. */ out?: Image; } /** * Draw a line defined by two points onto an image. * @param image - Image to process. * @param from - Line starting point. * @param to - Line ending point. * @param options - Draw Line options. * @returns The mask with the line drawing. */ export declare function drawLineOnImage(image: Image, from: Point, to: Point, options?: DrawLineOnImageOptions): Image; //# sourceMappingURL=drawLineOnImage.d.ts.map