Skip to content

gapi_wip_draw_Circle

gapiclassOpenCV 5.0.0
import { gapi_wip_draw_Circle } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSgapi_wip_draw_Circle
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods.

This structure represents a circle to draw.

Parameters match cv::circle().

Constructors and members

static new

Circle constructor

new(): gapi_wip_draw_Circle;
5 available overloads
new(center_: Point, radius_: number, color_: Scalar): gapi_wip_draw_Circle;
new(center_: Point, radius_: number, color_: Scalar, thick_: number): gapi_wip_draw_Circle;
new(center_: Point, radius_: number, color_: Scalar, thick_: number, lt_: number): gapi_wip_draw_Circle;
new(center_: Point, radius_: number, color_: Scalar, thick_: number, lt_: number, shift_: number): gapi_wip_draw_Circle;
new(): gapi_wip_draw_Circle;
center_

The center of the circle

radius_

The radius of the circle

color_

The color of the circle

thick_

The thickness of the circle outline, if positive. Negative values, like #FILLED, mean that a filled circle is to be drawn

lt_

The Type of the circle boundary. See #LineTypes

shift_

The Number of fractional bits in the coordinates of the center and in the radius value

Returns

The gapi_wip_draw_Circle result.

clone

Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.

clone(): this;
Returns

The this result.

center

The center of the circle

center: Point;

radius

The radius of the circle

radius: number;

color

The color of the circle

color: Scalar;

thick

The thickness of the circle outline, if positive. Negative values, like #FILLED, mean that a filled circle is to be drawn

thick: number;

lt

The Type of the circle boundary. See #LineTypes

lt: number;

shift

The Number of fractional bits in the coordinates of the center and in the radius value

shift: number;

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.