|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcuda.jnpp.NppiRect
public class NppiRect
2D Rectangle This class contains position and size information of a rectangle in two space. The rectangle's position is usually signified by the coordinate of its upper-left corner.
Field Summary | |
---|---|
(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 Summary | |
---|---|
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 |
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
int x
int y
int width
int height
Constructor Detail |
---|
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 heightMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |