Skip to content

RotateFlags

Core and matricesclassOpenCV 5.0.0
import { RotateFlags } from '@banou/opencv-wasm'

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

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

Broadcast the given Mat to the given shape.

Constructors and members

static ROTATE_90_CLOCKWISE

Rotate 90 degrees clockwise

ROTATE_90_CLOCKWISE: RotateFlagsValue<0>,

static ROTATE_180

Rotate 180 degrees clockwise

ROTATE_180: RotateFlagsValue<1>,

static ROTATE_90_COUNTERCLOCKWISE

Rotate 270 degrees clockwise

ROTATE_90_COUNTERCLOCKWISE: RotateFlagsValue<2>

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.