public class Graphics3DAndroid extends Graphics3D
Graphics3D.RoundRectangleStyle
IGraphics3D.PieRect
Modifier and Type | Field and Description |
---|---|
protected int |
currentX |
protected int |
currentY |
aspect, bounds, brush, DARKCOLORQUANTITY, DARKERCOLORQUANTITY, font, fourPoints, iPointDoubles, is3D, metafiling, monochrome, pen, smoothingMode, stringFormat, textSmooth
chart, InternalUse
Constructor and Description |
---|
Graphics3DAndroid(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
void |
arc(int x1,
int y1,
int x2,
int y2,
double startAngle,
double sweepAngle) |
void |
arc(int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int x4,
int y4)
Use Arc to draw an elliptically curved line with the current Pen.
|
void |
clipEllipse(Rectangle r) |
void |
clipPolygon(Point[] p) |
void |
clipRectangle(Rectangle r) |
void |
draw(int x,
int y,
Image image) |
void |
draw(Rectangle r,
Image image,
boolean transparent,
boolean smoothed) |
void |
drawBlur(PointDouble[] p,
int smoothBlur) |
void |
drawBlur(Rectangle rect,
int smoothBlur,
boolean isEllipse) |
protected void |
drawString(int x,
int y,
java.lang.String text,
ChartBrush brush) |
void |
ellipse(int x1,
int y1,
int x2,
int y2) |
void |
ellipseEnh(int x1,
int y1,
int x2,
int y2) |
void |
eraseBackground(int left,
int top,
int right,
int bottom) |
boolean |
fillPieSegment(int x1,
int y1,
int x2,
int y2,
int sd,
int rd,
int cl) |
void |
fillRectangle(ChartBrush brush,
int x,
int y,
int width,
int height) |
java.lang.Object |
getGraphics() |
void |
horizontalLine(int left,
int right,
int y) |
protected void |
line(ChartPen p,
Point a,
Point b) |
void |
line(int x0,
int y0,
int x1,
int y1) |
protected void |
line(int x0,
int y0,
int x1,
int y1,
ChartPen p) |
void |
lineTo(int x,
int y) |
void |
measureString(Dimension size,
ChartFont f,
java.lang.String text) |
void |
moveTo(int x,
int y)
Sets the value of PenPos to x and y co-ordinates before calling LineTo.
|
void |
pie(int x1,
int y1,
int x2,
int y2,
double startAngle,
double endAngle) |
void |
pixel(int x,
int y,
int z,
Color color) |
void |
polygon(ChartBrush brush,
Point[] p) |
void |
polygon(Point[] p) |
void |
polygon(PointDouble[] p) |
void |
polyLine(Point[] p) |
void |
prepareDrawImage() |
void |
rectangle(ChartBrush b,
Rectangle r) |
void |
rectangle(Rectangle r) |
void |
resetState() |
void |
resetTransform() |
void |
restore() |
void |
rotateLabel(int x,
int y,
java.lang.String text,
double angle) |
void |
rotateTransform(Point p,
double angle) |
void |
roundRectangle(Rectangle r,
int roundWidth,
int roundHeight) |
void |
save() |
void |
setGraphics(java.lang.Object value) |
void |
setPixel(int x,
int y,
int z,
Color color) |
void |
showImage() |
int |
sizeToDIP(float value) |
int |
sizeToUnit(int unit,
float value) |
protected void |
sphereEnh(int x1,
int y1,
int x2,
int y2) |
protected void |
transparentEllipse(int x1,
int y1,
int x2,
int y2) |
void |
unClip() |
void |
verticalLine(int x,
int top,
int bottom) |
applyBright, applyDark, arc, arc, arrow, calc3DPoint, calc3DPoint, calc3DPoint, calc3DPos, calc3DPos, calc3DPos, calc3DPos, calc3DPos, calc3DPos, calc3DPos, calcArcAngles, calcArcPoints, calcPerspective, calcRect3D, calcTrigValues, calculate2DPosition, calculate2DPosition, calculate3DPosition, calculate3DPosition, calculate3DPosition, changed, clipCube, clipRectangle, cone, cone, cone, cone, convexHull, correctRectangle, crossingLines, cube, cube, cube, cull, cull, cylinder, donut, draw, draw, drawBeziers, drawBeziers, drawBlur, ellipse, ellipse, ellipse, ellipse, ellipse, ellipse, ellipse, ellipse, fillRectangle, fontTextHeight, fourPointsFromRect, getAspect, getBackColor, getBrush, getChartXCenter, getChartYCenter, getClipRoundRectangle, getColorPalette, getColorPaletteLength, getDefaultColor, getDefaultPattern, getDirty, getFont, getFontHeight, getGradient, getIZoomfactor, getMetafiling, getMonochrome, getPen, getPolygon, getRectCenter, getRotationCenter, getSmoothingMode, getSupports3DText, getSupportsFullRotation, getTextAlign, getTextSmooth, getUseBuffer, getXCenter, getYCenter, horizontalLine, initWindow, line, line, line, line, lineTo, lineTo, lineTo, lineTo, lineWithZ, moveTo, moveTo, moveTo, moveTo, orientRectangle, paintBevel, paintImageBevel, pie, pie, plane, plane, plane, planeFour3D, pointAtDistance, pointFromCircle, pointFromCircle, pointFromCircle, pointFromEllipse, pointFromEllipse, pointFromSpiral, pointInEllipse, pointInEllipse, pointInHorizTriangle, pointInLineTolerance, pointInLineTolerance, pointInPolygon, pointInRect, pointInTriangle, polygon, polygon, polygon, polygon, polygon, polygonFourDouble, polygonRect, polyLine, projection, pyramid, pyramid, pyramidTrunc, rad2Deg, rectangle, rectangle, rectangle, rectangle, rectangleWithZ, rectangleY, rectangleZ, rectCenter, rectFromPolygon, rectFromRectZ, reset, rotateLabel, rotateLabel, rotateRectangle, roundRectangle, roundRectangle, roundRectangle, setBackColor, setBrush, setColorPalette, setDirty, setFont, setGradient, setIZoomfactor, setMetafiling, setPen, setRotationCenter, setSmoothingMode, setTextAlign, setTextSmooth, setUseBuffer, setXCenter, setYCenter, sliceArray, sliceArray, sphere, sphere, sphere, sphere, sphere, textHeight, textHeight, textOut, textOut, textOut, textWidth, textWidth, transparency, transparentColor, transparentEllipse, transparentEllipse, triangle, triangle, unClipRectangle, validState, verticalLine, zLine
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public Graphics3DAndroid(IBaseChart c)
public void polygon(ChartBrush brush, Point[] p)
public void draw(int x, int y, Image image)
public void showImage()
public void resetState()
public int sizeToDIP(float value)
public int sizeToUnit(int unit, float value)
public java.lang.Object getGraphics()
public void rotateTransform(Point p, double angle)
public void resetTransform()
public void moveTo(int x, int y)
Graphics3D
moveTo
in interface IGraphics3D
moveTo
in class Graphics3D
x
- inty
- intpublic void arc(int x1, int y1, int x2, int y2, double startAngle, double sweepAngle)
arc
in interface IGraphics3D
arc
in class Graphics3D
public void arc(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4)
Graphics3D
arc
in class Graphics3D
x1
- inty1
- intx2
- inty2
- intx3
- inty3
- intx4
- inty4
- intprotected void transparentEllipse(int x1, int y1, int x2, int y2)
transparentEllipse
in class Graphics3D
public void fillRectangle(ChartBrush brush, int x, int y, int width, int height)
fillRectangle
in class Graphics3D
public void ellipseEnh(int x1, int y1, int x2, int y2)
ellipseEnh
in class Graphics3D
protected void sphereEnh(int x1, int y1, int x2, int y2)
sphereEnh
in class Graphics3D
public void ellipse(int x1, int y1, int x2, int y2)
ellipse
in interface IGraphics3D
ellipse
in class Graphics3D
public void eraseBackground(int left, int top, int right, int bottom)
eraseBackground
in class Graphics3D
public void rectangle(Rectangle r)
rectangle
in interface IGraphics3D
rectangle
in class Graphics3D
public void roundRectangle(Rectangle r, int roundWidth, int roundHeight)
roundRectangle
in interface IGraphics3D
roundRectangle
in class Graphics3D
public void pie(int x1, int y1, int x2, int y2, double startAngle, double endAngle)
pie
in class Graphics3D
public void polygon(Point[] p)
polygon
in interface IGraphics3D
polygon
in class Graphics3D
public void polygon(PointDouble[] p)
polygon
in interface IGraphics3D
polygon
in class Graphics3D
protected void drawString(int x, int y, java.lang.String text, ChartBrush brush)
drawString
in class Graphics3D
public void measureString(Dimension size, ChartFont f, java.lang.String text)
measureString
in interface IGraphics3D
measureString
in class Graphics3D
public void clipRectangle(Rectangle r)
clipRectangle
in interface IGraphics3D
clipRectangle
in class Graphics3D
public void clipEllipse(Rectangle r)
clipEllipse
in interface IGraphics3D
clipEllipse
in class Graphics3D
public void clipPolygon(Point[] p)
clipPolygon
in interface IGraphics3D
clipPolygon
in class Graphics3D
public void horizontalLine(int left, int right, int y)
horizontalLine
in interface IGraphics3D
horizontalLine
in class Graphics3D
public void pixel(int x, int y, int z, Color color)
pixel
in class Graphics3D
public void polyLine(Point[] p)
polyLine
in interface IGraphics3D
polyLine
in class Graphics3D
public void rotateLabel(int x, int y, java.lang.String text, double angle)
rotateLabel
in interface IGraphics3D
rotateLabel
in class Graphics3D
public void save()
save
in interface IGraphics3D
save
in class Graphics3D
public void restore()
restore
in interface IGraphics3D
restore
in class Graphics3D
public void unClip()
unClip
in interface IGraphics3D
unClip
in class Graphics3D
public void verticalLine(int x, int top, int bottom)
verticalLine
in interface IGraphics3D
verticalLine
in class Graphics3D
public void line(int x0, int y0, int x1, int y1)
line
in interface IGraphics3D
line
in class Graphics3D
public void lineTo(int x, int y)
lineTo
in interface IGraphics3D
lineTo
in class Graphics3D
public void prepareDrawImage()
prepareDrawImage
in interface IGraphics3D
prepareDrawImage
in class Graphics3D
public void rectangle(ChartBrush b, Rectangle r)
rectangle
in interface IGraphics3D
rectangle
in class Graphics3D
protected void line(ChartPen p, Point a, Point b)
line
in class Graphics3D
protected void line(int x0, int y0, int x1, int y1, ChartPen p)
public void setGraphics(java.lang.Object value)
setGraphics
in interface IGraphics3D
setGraphics
in class Graphics3D
public void setPixel(int x, int y, int z, Color color)
setPixel
in interface IGraphics3D
setPixel
in class Graphics3D
public boolean fillPieSegment(int x1, int y1, int x2, int y2, int sd, int rd, int cl)
fillPieSegment
in class Graphics3D
public void drawBlur(Rectangle rect, int smoothBlur, boolean isEllipse)
drawBlur
in interface IGraphics3D
drawBlur
in class Graphics3D
public void drawBlur(PointDouble[] p, int smoothBlur)
drawBlur
in interface IGraphics3D
drawBlur
in class Graphics3D