public class FoldLine extends SpecialGlyph
限定符和类型 | 方法和说明 |
---|---|
void |
draw(java.awt.Graphics g,
int resolution)
将图像对象画到屏幕上
|
boolean |
equals(java.lang.Object ob) |
java.awt.geom.GeneralPath |
getGeneralPath() |
LineStyleInfo |
getLineStyleInfo() |
java.awt.Shape |
getShape()
返回表示该Glyph的几何形状的对象
|
void |
setGeneralPath(java.awt.geom.GeneralPath generalPath) |
void |
setLineStyleInfo(LineStyleInfo lineStyleInfo) |
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
clone, selectableChildren
public void draw(java.awt.Graphics g, int resolution)
Glyph
g
- 画图对象resolution
- 屏幕分辨率public java.awt.Shape getShape()
Glyph
public void setGeneralPath(java.awt.geom.GeneralPath generalPath)
public java.awt.geom.GeneralPath getGeneralPath()
public void setLineStyleInfo(LineStyleInfo lineStyleInfo)
public LineStyleInfo getLineStyleInfo()
public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在接口中 Glyph
toJSONObject
在类中 SpecialGlyph
repo
- 请求JSONException
- 抛错