ojos
Version:
High level API on top of Mirada (opencv.js) supporting bth browser and node.
25 lines (24 loc) • 812 B
TypeScript
import { Size } from 'mirada';
import { AbstractOperation } from './abstractOperation';
import { OperationExecBaseOptions, WithCenter, WithColor, WithLineType, WithThickness } from './types';
export interface EllipseOptions extends OperationExecBaseOptions, EllipseConcreteOptions {
}
export interface EllipseConcreteOptions extends Partial<WithLineType>, WithColor, WithCenter, Partial<WithThickness> {
/**
* Ellipse angle in degrees.
*/
angle: number;
/**
* Ellipse width and height.
*/
size: Size;
}
/**
* Draws a simple or filled Ellipse with a given center size and rotation angle.
*/
export declare class Ellipse extends AbstractOperation<EllipseOptions> {
name: string;
description: string;
noDst: boolean;
protected _exec(o: EllipseOptions): void;
}