public class Base64Image extends java.lang.Object implements java.io.Serializable, FCloneable
构造器和说明 |
---|
Base64Image() |
Base64Image(java.lang.String imageBase64,
int width,
int height,
long imageKey) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
void |
createDefaultImage(java.lang.String response,
int width,
int height) |
java.lang.String |
getBase64() |
int |
getHeight() |
long |
getImageKey() |
int |
getWidth() |
boolean |
isNullImage() |
boolean |
isPixelChanged(int width,
int height)
在可容忍的范围内,图片像素是否发生改变
|
boolean |
isServerStop() |
void |
setBase64(java.lang.String base64) |
void |
setHeight(int height) |
void |
setImageKey(long imageKey) |
void |
setWidth(int width) |
boolean |
sizeDiff(int width,
int height) |
public Base64Image()
public Base64Image(java.lang.String imageBase64, int width, int height, long imageKey)
public long getImageKey()
public void setImageKey(long imageKey)
public boolean sizeDiff(int width, int height)
public boolean isNullImage()
public java.lang.String getBase64()
public boolean isServerStop()
public void setBase64(java.lang.String base64)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public boolean isPixelChanged(int width, int height)
width
- height
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public void createDefaultImage(java.lang.String response, int width, int height)