public class CurrencyLinePainter extends TagPainter
构造器和说明 |
---|
CurrencyLinePainter(java.lang.String text,
CurrencyLineAttr clattr) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone()
Clone
|
java.lang.String |
getText()
Gets the data of BarcodePainter.
|
void |
paint(java.awt.Graphics g,
int width,
int height,
int resolution,
Style style)
Paint.
|
void |
paintTag(Repository repo,
int width,
int height,
Style style,
Tag tag)
画出图形,生成 img 标签,加入上层 tag
|
void |
readXML(XMLableReader reader)
从XML文件中读取对象
|
void |
setText(java.lang.String text)
Sets the data of BarcodePainter.
|
java.lang.String |
toString()
toString
|
toJSONObject, toJSONObject, writeXML
public CurrencyLinePainter(java.lang.String text, CurrencyLineAttr clattr)
public java.lang.String getText()
public void setText(java.lang.String text)
public void paint(java.awt.Graphics g, int width, int height, int resolution, Style style)
g
- 图形上下文width
- 目标图形的宽度height
- 目标图形的高度resolution
- 屏幕分辨率style
- 样式public void paintTag(Repository repo, int width, int height, Style style, Tag tag)
Painter
paintTag
在接口中 Painter
paintTag
在类中 TagPainter
repo
- 网络请求上细纹width
- 宽度height
- 高度style
- 样式tag
- 上层 html 标签public java.lang.String toString()
toString
在类中 java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 AbstractPainter
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public void readXML(XMLableReader reader)
AbstractPainter
readXML
在接口中 XMLReadable
readXML
在类中 AbstractPainter
reader
- XML读取对象XMLableReader