|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.drawing.Graphics3D
com.steema.teechart.drawing.Graphics3DVectorial
com.steema.teechart.drawing.Graphics3DPDF
public class Graphics3DPDF
Title: Graphics3DPDF class
Description: Summary description for Graphics3DPDF.
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary |
---|
Fields inherited from class com.steema.teechart.drawing.Graphics3D |
---|
aspect, bounds, brush, DARKCOLORQUANTITY, DARKERCOLORQUANTITY, DefaultPalette, font, fourPoints, metafiling, monochrome, pen, smoothingMode, stringFormat, textSmooth |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
Graphics3DPDF(PDFData pdfdata,
IBaseChart c)
|
Method Summary | |
---|---|
void |
arc(int x1,
int y1,
int x2,
int y2,
double startAngle,
double sweepAngle)
Use Arc to draw an elliptically curved line with the current Pen. |
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 |
changed(java.lang.Object o)
|
void |
clipEllipse(Rectangle r)
Creates a Elliptical Windows GDI clipping region. |
void |
clipPolygon(java.awt.Point[] p)
Creates a Polygonal Windows GDI clipping region. |
void |
clipRectangle(Rectangle r)
Creates a rectangular Windows GDI clipping region. |
void |
cone(boolean vertical,
int left,
int top,
int right,
int bottom,
int z0,
int z1,
boolean darkSides,
int conePercent)
|
void |
donut(int xCenter,
int yCenter,
int xRadius,
int yRadius,
double startAngle,
double endAngle,
int donutPercent)
Draws a Donut slice. |
void |
draw(int x,
int y,
java.awt.Image image)
Paints the image at x,y coordinates. |
void |
draw(Rectangle r,
java.awt.Image image)
Paints the image in rectangle r. |
void |
draw(Rectangle rect,
java.awt.Image image,
boolean draw3D)
|
void |
drawBeziers(java.awt.Point[] p)
Draws Bezier splines for the Point array p. |
protected void |
drawString(int x,
int y,
java.lang.String text,
ChartBrush brush)
|
void |
ellipse(int x1,
int y1,
int x2,
int y2)
Draws an Ellipse between the 2 co-ordinates. |
void |
ellipse(int left,
int top,
int right,
int bottom,
boolean enhanced)
|
void |
eraseBackground(int left,
int top,
int right,
int bottom)
Clears background defined for Rectangle Left, Top, Right, Bottom. |
void |
fillRectangle(ChartBrush brush,
int x,
int y,
int width,
int height)
|
void |
gradientFill(int left,
int top,
int right,
int bottom,
Color startColor,
Color endColor,
GradientDirection direction)
Fills a Screen area with multi-colored lines to obtain a nice shadow effect and coloured backgrounds. |
void |
horizontalLine(int left,
int right,
int y)
Draws a Horizontal Line. |
void |
initWindow(Aspect a,
Rectangle r,
int maxDepth)
|
protected void |
line(ChartPen p,
java.awt.Point a,
java.awt.Point b)
|
void |
line(int x0,
int y0,
int x1,
int y1)
Draws a Line between co-ordinates. |
void |
lineTo(int x,
int y)
Draws a line from the present PenPos to the new co-ordinates. |
java.awt.Dimension |
measureString(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)
Draws a Pie slice using StartAngle and End Angle. |
void |
pixel(int x,
int y,
int z,
Color color)
Sets the 3D pixel to OLE_Color, using Pen. |
void |
polygon(ChartBrush b,
java.awt.Point[] p)
Draws a polygon using the specified GDI brush. |
void |
polygon(java.awt.Point[] p)
Draws a polygon. |
void |
polyLine(java.awt.Point[] p)
Draws a series of line segments to join point array p. |
void |
prepareDrawImage()
|
void |
rectangle(ChartBrush b,
Rectangle r)
|
void |
rectangle(Rectangle r)
Draws a Rectangle (Rectangle r). |
void |
resetState()
|
void |
rotateLabel(int x,
int y,
java.lang.String text,
double rotDegree)
Draws a rotated text String at the specified xy coordinates with the RotDegree rotation angle. |
void |
roundRectangle(Rectangle r,
int roundWidth,
int roundHeight)
Draws a rectangle with rounded corners of personalized curvature and size. |
void |
setClip(java.awt.Shape region)
|
void |
setPixel(int x,
int y,
int z,
Color color)
|
void |
showImage()
|
void |
sphere(int left,
int top,
int right,
int bottom)
|
void |
sphere(int x,
int y,
int z,
int radius,
boolean enhanced)
|
protected void |
transparentEllipse(int x1,
int y1,
int x2,
int y2)
|
void |
unClip()
Removes any clipping region applied to Chart Drawing. |
void |
verticalLine(int x,
int top,
int bottom)
Draws a Vertical Line from (X,Top) to (X,Bottom). |
Methods inherited from class com.steema.teechart.drawing.Graphics3DVectorial |
---|
addToStream, bufferedFrom, getGraphics, getImagePixels, setGraphics |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Graphics3DPDF(PDFData pdfdata, IBaseChart c)
Method Detail |
---|
public void initWindow(Aspect a, Rectangle r, int maxDepth)
initWindow
in interface IGraphics3D
initWindow
in class Graphics3D
public void changed(java.lang.Object o)
changed
in interface IGraphics3D
changed
in class Graphics3D
public void fillRectangle(ChartBrush brush, int x, int y, int width, int height)
fillRectangle
in class Graphics3D
public void setClip(java.awt.Shape region)
setClip
in class Graphics3D
public void setPixel(int x, int y, int z, Color color)
setPixel
in interface IGraphics3D
setPixel
in class Graphics3D
public void draw(Rectangle rect, java.awt.Image image, boolean draw3D)
draw
in interface IGraphics3D
draw
in class Graphics3D
public void resetState()
public void arc(int x1, int y1, int x2, int y2, double startAngle, double sweepAngle)
arc
in interface IGraphics3D
arc
in class Graphics3D
x1
- inty1
- intx2
- inty2
- intstartAngle
- doublesweepAngle
- doublepublic 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
- intpublic void ellipse(int x1, int y1, int x2, int y2)
ellipse
in interface IGraphics3D
ellipse
in class Graphics3D
x1
- inty1
- intx2
- inty2
- intprotected void transparentEllipse(int x1, int y1, int x2, int y2)
transparentEllipse
in class Graphics3D
protected void drawString(int x, int y, java.lang.String text, ChartBrush brush)
drawString
in class Graphics3D
public void clipRectangle(Rectangle r)
clipRectangle
in interface IGraphics3D
clipRectangle
in class Graphics3D
r
- Rectanglepublic void clipPolygon(java.awt.Point[] p)
clipPolygon
in interface IGraphics3D
clipPolygon
in class Graphics3D
p
- Point[]public void unClip()
unClip
in interface IGraphics3D
unClip
in class Graphics3D
public void clipEllipse(Rectangle r)
clipEllipse
in interface IGraphics3D
clipEllipse
in class Graphics3D
r
- Rectanglepublic void rotateLabel(int x, int y, java.lang.String text, double rotDegree)
rotateLabel
in interface IGraphics3D
rotateLabel
in class Graphics3D
x
- inty
- inttext
- StringrotDegree
- doublepublic void pie(int x1, int y1, int x2, int y2, double startAngle, double endAngle)
pie
in class Graphics3D
x1
- inty1
- intx2
- inty2
- intstartAngle
- doubleendAngle
- doublepublic void eraseBackground(int left, int top, int right, int bottom)
eraseBackground
in class Graphics3D
left
- inttop
- intright
- intbottom
- intpublic void gradientFill(int left, int top, int right, int bottom, Color startColor, Color endColor, GradientDirection direction)
left
- inttop
- intright
- intbottom
- intstartColor
- ColorendColor
- Colordirection
- GradientDirectionpublic void pixel(int x, int y, int z, Color color)
pixel
in class Graphics3D
x
- inty
- intz
- intcolor
- Colorpublic void polyLine(java.awt.Point[] p)
polyLine
in interface IGraphics3D
polyLine
in class Graphics3D
p
- Point[]public void polygon(ChartBrush b, java.awt.Point[] p)
b
- ChartBrushp
- Point[]public void polygon(java.awt.Point[] p)
polygon
in interface IGraphics3D
polygon
in class Graphics3D
p
- Point[]public void draw(Rectangle r, java.awt.Image image)
r
- Rectangleimage
- Imagepublic void draw(int x, int y, java.awt.Image image)
x
- inty
- intimage
- Imagepublic void drawBeziers(java.awt.Point[] p)
drawBeziers
in interface IGraphics3D
drawBeziers
in class Graphics3D
p
- Point[]public void horizontalLine(int left, int right, int y)
horizontalLine
in interface IGraphics3D
horizontalLine
in class Graphics3D
left
- intright
- inty
- intprotected void line(ChartPen p, java.awt.Point a, java.awt.Point b)
line
in class Graphics3D
public void moveTo(int x, int y)
Graphics3D
moveTo
in interface IGraphics3D
moveTo
in class Graphics3D
x
- inty
- intpublic void lineTo(int x, int y)
lineTo
in interface IGraphics3D
lineTo
in class Graphics3D
x
- inty
- intpublic void line(int x0, int y0, int x1, int y1)
line
in interface IGraphics3D
line
in class Graphics3D
x0
- inty0
- intx1
- inty1
- intpublic 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
public void rectangle(Rectangle r)
rectangle
in interface IGraphics3D
rectangle
in class Graphics3D
r
- Rectanglepublic void showImage()
public void roundRectangle(Rectangle r, int roundWidth, int roundHeight)
roundRectangle
in interface IGraphics3D
roundRectangle
in class Graphics3D
r
- RectangleroundWidth
- introundHeight
- intpublic void verticalLine(int x, int top, int bottom)
verticalLine
in interface IGraphics3D
verticalLine
in class Graphics3D
x
- inttop
- intbottom
- intpublic java.awt.Dimension measureString(ChartFont f, java.lang.String text)
measureString
in interface IGraphics3D
measureString
in class Graphics3DVectorial
public void donut(int xCenter, int yCenter, int xRadius, int yRadius, double startAngle, double endAngle, int donutPercent)
Graphics3D
donut
in interface IGraphics3D
donut
in class Graphics3D
xCenter
- int center horizontal positionyCenter
- int center vertical positionxRadius
- int horizontal radiusyRadius
- int vertical radiusstartAngle
- double angle from 0 to 360 of slice beginendAngle
- double angle from 0 to 360 of slice enddonutPercent
- int percent from 0 to 100 of donut center holepublic void cone(boolean vertical, int left, int top, int right, int bottom, int z0, int z1, boolean darkSides, int conePercent)
cone
in interface IGraphics3D
cone
in class Graphics3D
public void sphere(int x, int y, int z, int radius, boolean enhanced)
sphere
in interface IGraphics3D
sphere
in class Graphics3D
public void sphere(int left, int top, int right, int bottom)
sphere
in interface IGraphics3D
sphere
in class Graphics3D
public void ellipse(int left, int top, int right, int bottom, boolean enhanced)
ellipse
in interface IGraphics3D
ellipse
in class Graphics3D
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |