Table of contents

Quadrilateral

Interface Quadrilateral is used to define a quadrilateral shape. This interface is mainly used by the roi parameter of SimplifiedCaptureVisionSettings.

Definition

Assembly: dynamsoft-capture-vision-react-native

interface Quadrilateral

Properties

Property Type Description
points Array<Point> An array of four points that make up the quadrilateral.

points

An array of four points that make up the quadrilateral. The points list start from the top-left point of the quadrilateral and go clockwise.

points: Point[];

Remarks

The coordinates are typically set in pixels. However, if you are setting a region via the SimplifiedCaptureVisionSettings, you can set the coordinates of the Quadrilateral as percentages (of the frame dimensions) instead of pixels if roiMeasuredInPercentage is set to true.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: