Table of contents

Contour

The Contour class represents a contour in 2D space. It contains an array of Point objects, which represent the vertices of the contour.

Definition

Package: com.dynamsoft.core.basic_structures

public class Contour

Methods

Method Description
Contour() Initializes a new instance of the Contour class.
Contour(Contour contour) Initializes a new instance of the Contour class with another contour.
setPoints Sets the point array.
getPoints Gets the point array.

Contour()

Initializes a new instance of the Contour class.

public Contour()

Contour(Contour contour)

Initializes a new instance of the Contour class with another contour.

public Contour(Contour contour)

Parameters

contour: Another contour object to copy from.

setPoints

Sets the point array.

public void setPoints(Point[] points)

Parameters

points: The point array.

getPoints

Gets the point array.

public Point[] getPoints()

Return Value

Returns the point array.

See Also

Point

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: