3.7.9 - Image Position - JdlImagePosition

John W. Campbell

3.7.9.1 Introduction

This class provides an object which contains the positional data from a JdlImage object when a position or rectangle is selected by the user. All positions are specified with respect to the full image.

Class, fields and constructor:

Class Details
Accessible Fields
Constructor

3.7.9.2 Class Details

Package:
Jdl.JdlView;
Class name:
JdlImagePosition
Class definition:
public class JdlImagePosition
Extends:
Object
Implements:
none
Actions:
none

3.7.9.3 Accessible Fields

The following accessible fields have been defined:

public int ax1_pix
Input position along 1'st local axis.
public int ax2_pix
Input position along 2'nd local axis.
public int ax1_pix_ov1
Input position along 1'st local axis allowing for overlay 1 offset if relevant.
public int ax2_pix_ov1
Input position along 2'nd local axis allowing for overlay 1 offset if relevant.
public int ax1_pix_dn
Selected Rectangle: Input position along 1'st local axis for first corner of rectangle.
public int ax2_pix_dn
Selected Rectangle: Input position along 2'nd local axis for first corner of rectangle.
public int ax1_pix_up
Selected Rectangle: Input position along 1'st local axis for opposite corner of rectangle.
public int ax2_pix_up
Selected Rectangle: Input position along 2'nd local axis for opposite corner of rectangle.

3.7.9.4 Constructor

3.7.9.4.1 Introduction

Two constructors are available.

Constructor:

Constructor 1
Constructor 2

3.7.9.4.2 Constructor 1

Constructs a JdlImagePosition object with all values set to zero.

Constructor Definition:
JdlImagePosition()
Parameters List:
none

3.7.9.4.3 Constructor 2

Constructs a JdlImagePosition object with full details.
All values are with respect to full image.

Constructor Definition:
JdlImagePosition (int ax1p, int ax2p, int ax1ov, int ax2ov, int ax1dn, int ax2dn, int ax1up, int ax2up)
Parameters List:
ax1p
Input position along 1'st local axis.
ax2p
Input position along 2'nd local axis.
ax1ov
Input position along 1'st local axis allowing for overlay 1 offset if relevant.
ax2ov
Input position along 2'nd local axis allowing for overlay 1 offset if relevant.
ax1dn
Input position along 1'st local axis for first corner of rectangle.
ax2dn
Input position along 2'nd local axis for first corner of rectangle.
ax1up
Input position along 1'st local axis for second corner of rectangle.
ax2up
Input position along 2'nd local axis for second corner of rectangle.

⇑ Up 3   ⇑ Up 2   ⇑ Up 1   ⇑ Top of this