public class QreyesPosition extends Object implements Serializable
| 构造器和说明 |
|---|
QreyesPosition() |
QreyesPosition(int modules,
int[] topLeftOnBit) |
QreyesPosition(int leftStartX,
int leftEndX,
int topStartY,
int topEndY,
int rightStartX,
int rightEndX,
int bottomStartY,
int bottomEndY,
int modules,
int[] topLeftOnBit) |
| 限定符和类型 | 方法和说明 |
|---|---|
int[] |
bottomLeftPoint() |
int[] |
bottomLeftRect() |
QreyesPosition |
focusPoint(int imgWidth,
int imgHeight) |
int |
getBorderSize(int imgWidth) |
int |
getBottomEndY() |
int |
getBottomStartY() |
int |
getLeftEndX() |
int |
getLeftStartX() |
int |
getModuleHeight(int imgHeight) |
int |
getModules() |
int |
getModuleWidth(int imgWidth) |
int |
getRightEndX() |
int |
getRightStartX() |
int |
getTopEndY() |
int[] |
getTopLeftOnBit() |
int |
getTopStartY() |
void |
setBottomEndY(int bottomEndY) |
void |
setBottomStartY(int bottomStartY) |
void |
setLeftEndX(int leftEndX) |
void |
setLeftStartX(int leftStartX) |
void |
setModules(int modules) |
QreyesPosition |
setPosition(int leftStartX,
int leftEndX,
int topStartY,
int topEndY,
int rightStartX,
int rightEndX,
int bottomStartY,
int bottomEndY) |
void |
setRightEndX(int rightEndX) |
void |
setRightStartX(int rightStartX) |
void |
setTopEndY(int topEndY) |
void |
setTopLeftOnBit(int[] topLeftOnBit) |
void |
setTopStartY(int topStartY) |
int[] |
topLeftPoint() |
int[] |
topLeftRect() |
int[] |
topRightPoint() |
int[] |
topRightRect() |
public QreyesPosition()
public QreyesPosition(int modules,
int[] topLeftOnBit)
modules - topLeftOnBit - public QreyesPosition(int leftStartX,
int leftEndX,
int topStartY,
int topEndY,
int rightStartX,
int rightEndX,
int bottomStartY,
int bottomEndY,
int modules,
int[] topLeftOnBit)
leftStartX - leftEndX - topStartY - topEndY - rightStartX - rightEndX - bottomStartY - bottomEndY - modules - topLeftOnBit - public int getLeftStartX()
public void setLeftStartX(int leftStartX)
public int getLeftEndX()
public void setLeftEndX(int leftEndX)
public int getTopStartY()
public void setTopStartY(int topStartY)
public int getTopEndY()
public void setTopEndY(int topEndY)
public int getRightStartX()
public void setRightStartX(int rightStartX)
public int getRightEndX()
public void setRightEndX(int rightEndX)
public int getBottomStartY()
public void setBottomStartY(int bottomStartY)
public int getBottomEndY()
public void setBottomEndY(int bottomEndY)
public int getModules()
public void setModules(int modules)
public int[] getTopLeftOnBit()
public void setTopLeftOnBit(int[] topLeftOnBit)
public QreyesPosition setPosition(int leftStartX, int leftEndX, int topStartY, int topEndY, int rightStartX, int rightEndX, int bottomStartY, int bottomEndY)
public final int getModuleWidth(int imgWidth)
public final int getModuleHeight(int imgHeight)
public final int getBorderSize(int imgWidth)
public final int[] topLeftRect()
public final int[] topRightRect()
public final int[] bottomLeftRect()
public final int[] topLeftPoint()
public final int[] topRightPoint()
public final int[] bottomLeftPoint()
public QreyesPosition focusPoint(int imgWidth, int imgHeight)
Copyright © 2017. All rights reserved.