[]
        
(Showing Draft Content)

CSJ2K.j2k.image.Coord.-ctor

Coord Constructor

Coord()

Creates a new coordinate object given with the (0,0) coordinates

Declaration
public Coord()

Coord(int, int)

Creates a new coordinate object given the two coordinates.

Declaration
public Coord(int x, int y)
Parameters
Type Name Description
int x

The horizontal coordinate.

int y

The vertical coordinate.

Coord(Coord)

Creates a new coordinate object given another Coord object i.e. copy constructor

Declaration
public Coord(Coord c)
Parameters
Type Name Description
Coord c

The Coord object to be copied.