public class ImageAttr extends java.lang.Object implements java.io.Serializable, FCloneable
构造器和说明 |
---|
ImageAttr() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
int |
getHeight() |
java.lang.String |
getJs() |
JSONObject |
getOption() |
double |
getScale() |
VanChartGlyph |
getVanChartGlyph() |
int |
getWidth() |
boolean |
isDirty() |
boolean |
isOptionDirty() |
void |
reset() |
void |
setHeight(int height) |
void |
setJs(java.lang.String js) |
void |
setOption(JSONObject option) |
void |
setOptionDirty(boolean optionDirty) |
void |
setScale(double scale) |
void |
setWidth(int width) |
void |
updateAttr(VanChartGlyph vanChartGlyph,
int width,
int height) |
void |
updateExportAttr(VanChartGlyph vanChartGlyph,
int width,
int height) |
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public void setOption(JSONObject option)
public boolean isOptionDirty()
public void setOptionDirty(boolean optionDirty)
public VanChartGlyph getVanChartGlyph()
public java.lang.String getJs()
public void setJs(java.lang.String js)
public double getScale()
public void setScale(double scale)
public void updateAttr(VanChartGlyph vanChartGlyph, int width, int height)
public void updateExportAttr(VanChartGlyph vanChartGlyph, int width, int height)
public boolean isDirty()
public void reset()
public JSONObject getOption()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常