public class Pie3D extends SpecialGlyph implements Object3D
构造器和说明 |
---|
Pie3D() |
限定符和类型 | 方法和说明 |
---|---|
void |
addCylinder(Cylinder cylinder)
增加一个圆柱形对象
|
void |
clearCylinder()
将存储的cylinder对象清除
|
void |
draw(java.awt.Graphics g,
int resolution)
每次画完一个侧面之后都要进行paint的颜色还原, 透明度不需要.
|
void |
drawWithoutSide(java.awt.Graphics g,
int resolution) |
boolean |
equals(java.lang.Object ob) |
Cylinder |
getCylinder(int index) |
int |
getCylinderCount() |
Projection |
getProjection()
返回3D图表的投影
|
java.awt.Shape |
getShape()
返回表示该Glyph的几何形状的对象
|
void |
setProjection(Projection projection)
设置3D图表的投影
|
java.awt.geom.Point2D |
topCenterPoint(java.awt.geom.Point2D centerPoint)
被封装的Cylinder上面的椭圆的中点
|
clone, selectableChildren, toJSONObject
public void draw(java.awt.Graphics g, int resolution)
public void drawWithoutSide(java.awt.Graphics g, int resolution)
public java.awt.Shape getShape()
Glyph
public void addCylinder(Cylinder cylinder)
cylinder
- 圆柱对象public Cylinder getCylinder(int index)
public int getCylinderCount()
public Projection getProjection()
Object3D
getProjection
在接口中 Object3D
public void setProjection(Projection projection)
Object3D
setProjection
在接口中 Object3D
projection
- 投影public void clearCylinder()
public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
public java.awt.geom.Point2D topCenterPoint(java.awt.geom.Point2D centerPoint)
centerPoint
- 给定的开始的点