public class NppiRect
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
height
Rectangle height.
|
(package private) int |
width
Rectangle width.
|
(package private) int |
x
x-coordinate of upper left corner.
|
(package private) int |
y
y-coordinate of upper left corner.
|
| Constructor and Description |
|---|
NppiRect()
Creates a new NppiRect at (0,0) with width=0 and height=0
|
NppiRect(int x,
int y,
int width,
int height)
Creates a new NppiRect from the given values
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
int x
int y
int width
int height
public NppiRect()
public NppiRect(int x,
int y,
int width,
int height)
x - x-coordinate of upper left cornery - y-coordinate of upper left cornerwidth - Rectangle widthheight - Rectangle height