public class FoldLine3D extends SpecialGlyph implements Object3D
构造器和说明 |
---|
FoldLine3D() |
FoldLine3D(double z,
double deep) |
FoldLine3D(float z,
float deep) |
限定符和类型 | 方法和说明 |
---|---|
void |
closePath()
闭合路径
|
void |
draw(java.awt.Graphics g,
int resolution)
将图像对象画到屏幕上
|
boolean |
equals(java.lang.Object ob) |
ColorInfo |
getColorInfo() |
float |
getDeep() |
java.awt.Shape |
getLineShape() |
java.util.List |
getPoint_list() |
Projection |
getProjection()
返回3D图表的投影
|
java.awt.Shape |
getShape()
返回表示该Glyph的几何形状的对象
|
java.util.List |
getType_list() |
float |
getZ() |
void |
lineTo(float x,
float y)
从当前点画线到(x,y)
|
void |
moveTo(float x,
float y)
把当前点移动到指定位置
|
void |
paintFlat(java.awt.Graphics g) |
protected void |
paintFront(java.awt.Graphics g) |
void |
setColorInfo(ColorInfo colorInfo) |
void |
setDeep(float deep) |
void |
setIsFirst(boolean first) |
void |
setPoint_list(java.util.List point_list) |
void |
setProjection(Projection projection)
设置3D图表的投影
|
void |
setTopSize(int topSize) |
void |
setType_list(java.util.List type_list) |
void |
setZ(float z) |
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
clone, selectableChildren
public FoldLine3D()
public FoldLine3D(float z, float deep)
public FoldLine3D(double z, double deep)
public void moveTo(float x, float y)
x
- 横坐标y
- 纵坐标public void lineTo(float x, float y)
x
- 横坐标y
- 纵坐标public void setTopSize(int topSize)
public void setIsFirst(boolean first)
public void closePath()
public void draw(java.awt.Graphics g, int resolution)
Glyph
public void paintFlat(java.awt.Graphics g)
protected void paintFront(java.awt.Graphics g)
public java.awt.Shape getShape()
Glyph
public java.awt.Shape getLineShape()
public void setZ(float z)
public float getZ()
public void setProjection(Projection projection)
Object3D
setProjection
在接口中 Object3D
projection
- 投影public Projection getProjection()
Object3D
getProjection
在接口中 Object3D
public void setDeep(float deep)
public float getDeep()
public void setPoint_list(java.util.List point_list)
public java.util.List getPoint_list()
public void setType_list(java.util.List type_list)
public java.util.List getType_list()
public void setColorInfo(ColorInfo colorInfo)
public ColorInfo getColorInfo()
public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在接口中 Glyph
toJSONObject
在类中 SpecialGlyph
repo
- 请求JSONException
- 抛错