Table of contents

Quadrilateral

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

Definition

Assembly: dynamsoft_capture_vision_flutter

class Quadrilateral

Constructors

Quadrilateral({required this.points});

Properties

Property Type Description
points List<Point> A list of four points that make up the quadrilateral.

points

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

List<Point<int>> points;

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: