Contour
The Contour class represents a contour made up of multiple points.
Definition
Namespace: com.dynamsoft.core.basic_structures
Assembly: DynamsoftCaptureVisionBundle.aar
class Contour
Attributes & Methods
| Attributes | Type | Description |
|---|---|---|
points |
android.graphics.Point[] | An array of Point objects defining the vertices of the contour. |
| Method | Description |
|---|---|
Contour |
The default constructor. |
Contour(Point[]) |
Constructs a contour from an array of points. |
transformByMatrix |
Transforms the coordinates of the contour by a transformation matrix. |
points
An array of android.graphics.Point objects defining the vertices of the contour.
Point[] points;
Contour
The default constructor.
Contour();
Contour(Point[] points)
Constructs a contour from an array of points.
Contour(Point[] points);
transformByMatrix
Contour transformByMatrix(Matrix matrix);
Parameters
matrix: The transformation matrix.
Return Value
The transformed contour.