public class Cubic extends GeneralGlyph implements Object3D
限定符和类型 | 字段和说明 |
---|---|
static byte |
BACK |
static byte |
BOTTOM |
static byte |
FRONT |
static byte |
LEFT |
static byte |
RIGHT |
static byte |
TOP |
限定符和类型 | 方法和说明 |
---|---|
java.awt.geom.GeneralPath |
back()
三维底座的背面
|
void |
draw(java.awt.Graphics g,
int resolution)
画GeneralGlyph
|
void |
draw3DBase(java.awt.Graphics g,
int resolution)
cubic作为3d图表的底座的时候画分类轴上的那个面
|
boolean |
equals(java.lang.Object ob) |
java.awt.geom.Point2D |
getBasePoint() |
double |
getDeep() |
java.awt.Shape |
getFrontShape() |
double |
getGapHeight() |
double |
getGapWidth() |
double |
getHeight() |
java.awt.Shape |
getOutline4Fill()
返回画GeneralGlyph的背景轮廓
|
java.awt.geom.Point2D[] |
getPoints() |
Projection |
getProjection()
返回3D图表的投影
|
java.awt.Shape |
getShape()
返回表示该Glyph的几何形状的对象
|
double |
getWidth() |
double |
getZ() |
java.util.Iterator |
selectableChildren()
返回可选择的孩子对象
|
void |
setCovers(byte[] covers) |
void |
setCubic(double x,
double y,
double z,
double width,
double height,
double deep) |
void |
setCubicPosition(double x,
double y)
设置bcubic相对于plotBounds的position
|
void |
setCubicWidthHeight(double width,
double height) |
void |
setDeep(double deep) |
void |
setIsHorizontal(boolean isHorizontal) |
void |
setProjection(Projection prbojection)
设置3D图表的投影
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
clone, dealCondition, dealConditionWithSeriesColor, drawOnlyBorder, drawWithOutBorder, getAlpha, getBackground, getBorderColor, getBorderStyle, getGeneralInfo, getRoundRadius, is3DIE6, isRoundBorder, isShadow, paint, paintBackground, putBackgroundJSON, putPlotBackgroundJSON, setAlpha, setBackground, setBorderColor, setBorderStyle, setGeneralInfo, setRoundBorder, toVanJSONObject
public static final byte TOP
public static final byte BOTTOM
public static final byte LEFT
public static final byte RIGHT
public static final byte FRONT
public static final byte BACK
public void setCovers(byte[] covers)
public void setCubicWidthHeight(double width, double height)
public double getHeight()
public double getWidth()
public void setIsHorizontal(boolean isHorizontal)
public void setCubicPosition(double x, double y)
x
- 横坐标y
- 纵坐标public double getGapWidth()
public double getGapHeight()
public java.awt.geom.Point2D[] getPoints()
public java.awt.geom.Point2D getBasePoint()
public void setCubic(double x, double y, double z, double width, double height, double deep)
public double getDeep()
public void setDeep(double deep)
public Projection getProjection()
Object3D
getProjection
在接口中 Object3D
public double getZ()
public void setProjection(Projection prbojection)
Object3D
setProjection
在接口中 Object3D
prbojection
- 投影public void draw(java.awt.Graphics g, int resolution)
GeneralGlyph
draw
在接口中 Glyph
draw
在类中 GeneralGlyph
g
- 图形对象resolution
- 分辨率public void draw3DBase(java.awt.Graphics g, int resolution)
g
- resolution
- public java.awt.geom.GeneralPath back()
public java.awt.Shape getFrontShape()
public java.awt.Shape getOutline4Fill()
GeneralGlyph
getOutline4Fill
在类中 GeneralGlyph
public java.awt.Shape getShape()
Glyph
public java.util.Iterator selectableChildren()
selectableChildren
在接口中 Glyph
public boolean equals(java.lang.Object ob)
equals
在类中 GeneralGlyph
public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在接口中 Glyph
toJSONObject
在类中 GeneralGlyph
repo
- 请求JSONException
- 抛错