|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectStructure
edu.wpi.first.wpilibj.image.NIVision.Rect
public static class NIVision.Rect
Constructor Summary | |
---|---|
NIVision.Rect(int top,
int left,
int height,
int width)
Create a new Rect with the specified dimensions |
Method Summary | |
---|---|
void |
free()
Free the memory used by this range |
int |
getHeight()
Get the height of the rectangle |
int |
getLeft()
Get the left edge of the rectangle |
int |
getTop()
Get the top of the rectangle |
int |
getWidth()
Get the width of the rectangle |
void |
read()
|
void |
set(int top,
int left,
int height,
int width)
Set the Rect dimensions |
int |
size()
|
void |
write()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NIVision.Rect(int top, int left, int height, int width)
top
- The top of the rectangleleft
- The left edge of the rectangleheight
- The height of the rectanglewidth
- The width of the rectangleMethod Detail |
---|
public void read()
public void write()
public int size()
public void free()
public void set(int top, int left, int height, int width)
top
- The top of the rectangleleft
- The left edge of the rectangleheight
- The height of the rectanglewidth
- The width of the rectanglepublic int getTop()
public int getLeft()
public int getWidth()
public int getHeight()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |