public interface PixelInspector
Modifier and Type | Method and Description |
---|---|
BufferedImage |
getDataBuffer() |
int |
getHeight()
Gets the height of the control
|
int |
getScale()
Gets the scale factor
|
int |
getWidth()
Gets the with of the control
|
void |
repaint()
Repaints the control
|
void |
setClear(boolean clear) |
void |
setDataBuffer(BufferedImage view) |
void |
setPosX(int posX)
Sets the X position of the control where the painted starts
|
void |
setPosY(int posY)
Sets the Y position of the control where the painted starts
|
void |
setViewCoordinates(int pixX,
int pixY)
Assigns view coordinates
|
void setClear(boolean clear)
int getWidth()
int getHeight()
int getScale()
void setViewCoordinates(int pixX, int pixY)
pixX
- pixY
- void setDataBuffer(BufferedImage view)
BufferedImage getDataBuffer()
void setPosX(int posX)
posX
- void setPosY(int posY)
posY
- void repaint()