|
||||||||||
| 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.Graphics3DSVG
public class Graphics3DSVG
Title: Graphics3DSVG class
Description: Summary description for Graphics3DSVG.
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
| Field Summary | |
|---|---|
boolean |
antiAliasing
|
java.lang.String |
docType
|
| Fields inherited from class com.steema.teechart.drawing.Graphics3D |
|---|
aspect, bounds, brush, DARKCOLORQUANTITY, DARKERCOLORQUANTITY, font, fourPoints, iPointDoubles, metafiling, monochrome, pen, smoothingMode, stringFormat, textSmooth |
| Fields inherited from class com.steema.teechart.TeeBase |
|---|
chart |
| Constructor Summary | |
|---|---|
Graphics3DSVG(java.io.OutputStream istream,
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 |
clipEllipse(Rectangle r)
Creates a Elliptical Windows GDI clipping region. ClipEllipse creates a Windows GDI clipping region and selects it into TChart.Drawing Canvas device context handle. |
void |
clipPolygon(java.awt.Point[] p)
Creates a Polygonal Windows GDI clipping region. ClipPolygon creates a Windows GDI clipping region and selects it into TChart.Drawing Canvas device context handle. |
void |
clipRectangle(Rectangle r)
Creates a rectangular Windows GDI clipping region. ClipRectangle creates a Windows GDI clipping region and selects it into TChart.Drawing Canvas device context handle. |
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. It can also be used to Print the Chart in a customized way: Or you can use the TeeChart Draw method to render an image at any location. |
void |
draw(Rectangle r,
java.awt.Image image,
boolean transparent)
Paints the image in rectangle r. It can also be used to Print the Chart in a customized way: Or you can use the TeeChart Draw method to render an image at any location. |
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. |
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)
|
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. The Chart.Gradient component uses this method internally. |
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. The Line method has 4 overloads to facilitate the setting of the end co-ordinate using Point p or int x, int y, both with or without a z parameter. |
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.Width. |
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 |
polygon(PointDouble[] p)
|
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 |
resetTransform()
|
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. RotDegree values must be between 0 and 360. |
void |
rotateTransform(java.awt.Point p,
double rotDegree)
|
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 |
| Field Detail |
|---|
public java.lang.String docType
public boolean antiAliasing
| Constructor Detail |
|---|
public Graphics3DSVG(java.io.OutputStream istream,
IBaseChart c)
| Method Detail |
|---|
public void resetState()
public void rotateTransform(java.awt.Point p,
double rotDegree)
public void resetTransform()
public void fillRectangle(ChartBrush brush,
int x,
int y,
int width,
int height)
fillRectangle in class Graphics3D
public void initWindow(Aspect a,
Rectangle r,
int MaxDepth)
initWindow in interface IGraphics3DinitWindow in class Graphics3D
public void arc(int x1,
int y1,
int x2,
int y2,
double startAngle,
double sweepAngle)
arc in interface IGraphics3Darc in class Graphics3Dx1 - inty1 - intx2 - inty2 - intstartAngle - doublesweepAngle - double
public void arc(int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int x4,
int y4)
Graphics3D
arc in class Graphics3Dx1 - inty1 - intx2 - inty2 - intx3 - inty3 - intx4 - inty4 - int
public void ellipse(int x1,
int y1,
int x2,
int y2)
ellipse in interface IGraphics3Dellipse in class Graphics3Dx1 - inty1 - intx2 - inty2 - int
protected 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 Graphics3Dpublic void clipRectangle(Rectangle r)
clipRectangle in interface IGraphics3DclipRectangle in class Graphics3Dr - Rectanglepublic void clipPolygon(java.awt.Point[] p)
clipPolygon in interface IGraphics3DclipPolygon in class Graphics3Dp - Point[]public void unClip()
unClip in interface IGraphics3DunClip in class Graphics3Dpublic void clipEllipse(Rectangle r)
clipEllipse in interface IGraphics3DclipEllipse in class Graphics3Dr - Rectangle
public void rotateLabel(int x,
int y,
java.lang.String text,
double rotDegree)
rotateLabel in interface IGraphics3DrotateLabel in class Graphics3Dx - inty - inttext - StringrotDegree - double
public void pie(int x1,
int y1,
int x2,
int y2,
double startAngle,
double endAngle)
pie in class Graphics3Dx1 - inty1 - intx2 - inty2 - intstartAngle - doubleendAngle - double
public void eraseBackground(int left,
int top,
int right,
int bottom)
eraseBackground in class Graphics3Dleft - inttop - intright - intbottom - int
public void gradientFill(int left,
int top,
int right,
int bottom,
Color startColor,
Color endColor,
GradientDirection direction)
left - inttop - intright - intbottom - intstartColor - ColorendColor - Colordirection - GradientDirection
public void pixel(int x,
int y,
int z,
Color color)
pixel in class Graphics3Dx - inty - intz - intcolor - Color
public boolean fillPieSegment(int x1,
int y1,
int x2,
int y2,
int sd,
int rd,
int cl)
fillPieSegment in class Graphics3Dpublic void polyLine(java.awt.Point[] p)
polyLine in interface IGraphics3DpolyLine in class Graphics3Dp - Point[]public void polygon(PointDouble[] p)
polygon in interface IGraphics3Dpolygon in class Graphics3D
public void polygon(ChartBrush b,
java.awt.Point[] p)
b - ChartBrushp - Point[]public void polygon(java.awt.Point[] p)
polygon in interface IGraphics3Dpolygon in class Graphics3Dp - Point[]
public void draw(Rectangle r,
java.awt.Image image,
boolean transparent)
draw in interface IGraphics3Ddraw in class Graphics3Dr - Rectangleimage - Imagetransparent - boolean
public void draw(int x,
int y,
java.awt.Image image)
x - inty - intimage - Imagepublic void drawBeziers(java.awt.Point[] p)
drawBeziers in interface IGraphics3DdrawBeziers in class Graphics3Dp - Point[]
public void horizontalLine(int left,
int right,
int y)
horizontalLine in interface IGraphics3DhorizontalLine in class Graphics3Dleft - intright - inty - int
protected 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 IGraphics3DmoveTo in class Graphics3Dx - inty - int
public void lineTo(int x,
int y)
lineTo in interface IGraphics3DlineTo in class Graphics3Dx - inty - int
public void line(int x0,
int y0,
int x1,
int y1)
line in interface IGraphics3Dline in class Graphics3Dx0 - inty0 - intx1 - inty1 - intpublic void prepareDrawImage()
prepareDrawImage in interface IGraphics3DprepareDrawImage in class Graphics3D
public void rectangle(ChartBrush b,
Rectangle r)
rectangle in interface IGraphics3Drectangle in class Graphics3Dpublic void rectangle(Rectangle r)
rectangle in interface IGraphics3Drectangle in class Graphics3Dr - Rectanglepublic void showImage()
public void roundRectangle(Rectangle r,
int roundWidth,
int roundHeight)
roundRectangle in interface IGraphics3DroundRectangle in class Graphics3Dr - RectangleroundWidth - introundHeight - int
public void verticalLine(int x,
int top,
int bottom)
verticalLine in interface IGraphics3DverticalLine in class Graphics3Dx - inttop - intbottom - int
public java.awt.Dimension measureString(ChartFont f,
java.lang.String text)
measureString in interface IGraphics3DmeasureString in class Graphics3DVectorial
public void donut(int xCenter,
int yCenter,
int xRadius,
int yRadius,
double startAngle,
double endAngle,
int donutPercent)
Graphics3D
donut in interface IGraphics3Ddonut in class Graphics3DxCenter - 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 hole
public void cone(boolean vertical,
int left,
int top,
int right,
int bottom,
int z0,
int z1,
boolean darkSides,
int conePercent)
cone in interface IGraphics3Dcone in class Graphics3Dpublic void setClip(java.awt.Shape region)
setClip in class Graphics3D
public void setPixel(int x,
int y,
int z,
Color color)
setPixel in interface IGraphics3DsetPixel in class Graphics3D
public void sphere(int x,
int y,
int z,
int radius,
boolean enhanced)
sphere in interface IGraphics3Dsphere in class Graphics3D
public void sphere(int left,
int top,
int right,
int bottom)
sphere in interface IGraphics3Dsphere in class Graphics3D
public void ellipse(int left,
int top,
int right,
int bottom,
boolean enhanced)
ellipse in interface IGraphics3Dellipse in class Graphics3D
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||