Skip to content

LineTypes

Image processingclassOpenCV 5.0.0
import { LineTypes } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSLineTypes
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.

LineTypes: types of line

Constructors and members

static FILLED

filled constant (-1), defined by OpenCV for cv.

FILLED: LineTypesValue<-1>,

static LINE_4

4-connected line

LINE_4: LineTypesValue<4>,

static LINE_8

8-connected line

LINE_8: LineTypesValue<8>,

static LINE_AA

antialiased line

LINE_AA: LineTypesValue<16>

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.