public abstract class AbstractShapePainter extends TagPainter implements ShapePainter
构造器和说明 |
---|
AbstractShapePainter()
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone()
Clone.
|
void |
paint(java.awt.Graphics g,
int width,
int height,
int resolution,
Style style)
根据指定的图形上下文、目标图形的宽度和高度、屏幕分辨率以及样式画出目标图形
|
void |
paint(java.awt.Graphics g,
int width,
int height,
Style style)
Paint.
|
void |
readXML(XMLableReader reader)
Read XML.
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
paintTag
toJSONObject, toJSONObject
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getShape
paintTag, toJSONObject, toJSONObject
public void paint(java.awt.Graphics g, int width, int height, int resolution, Style style)
Painter
public void paint(java.awt.Graphics g, int width, int height, Style style)
public void readXML(XMLableReader reader)
readXML
在接口中 XMLReadable
readXML
在类中 AbstractPainter
element
- the element.XMLableReader
public void writeXML(XMLPrintWriter writer)
writeXML
在接口中 XMLWriter
writeXML
在类中 AbstractPainter
writer
- the PrintWriter.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 AbstractPainter
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常