public class Graphics3DVML extends Graphics3DVectorial
Title: Graphics3DVML class
Description:
Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Graphics3D.RoundRectangleStyleIGraphics3D.PieRectaspect, bounds, brush, DARKCOLORQUANTITY, DARKERCOLORQUANTITY, font, fourPoints, iPointDoubles, is3D, metafiling, monochrome, pen, smoothingMode, stringFormat, textSmoothchart, InternalUse| Constructor and Description |
|---|
Graphics3DVML(java.io.OutputStream istream,
IBaseChart c) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
clipPolygon(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,
Image image)
Paints the image at x,y coordinates.
|
void |
draw(Rectangle r,
Image image,
boolean transparent,
boolean smoothed)
Paints the image in rectangle r.
|
void |
drawBeziers(Point[] p)
Draws Bezier splines for the Point array p
|
protected void |
drawString(int x,
int y,
java.lang.String text,
ChartBrush aBrush) |
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 color-gradient background.
|
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,
Point a,
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.
|
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,
Point[] p)
Draws a polygon using the specified GDI brush.
|
void |
polygon(Point[] p)
Draws a polygon.
|
void |
polygon(PointDouble[] p) |
void |
polyLine(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.
|
void |
rotateTransform(Point p,
double rotDegree) |
void |
roundRectangle(Rectangle r,
int roundWidth,
int roundHeight)
Draws a rectangle with rounded corners of personalized curvature and
size.
|
void |
setPixel(int x,
int y,
int z,
Color color) |
void |
showImage() |
int |
sizeToDIP(float value) |
int |
sizeToUnit(int unit,
float value) |
void |
sphere(int x,
int y,
int radius,
int z) |
void |
sphere(int x,
int y,
int radius,
int z,
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).
|
addToStream, ellipseEnh, getGraphics, measureString, pointToStr, pointToStr, setGraphics, sphereEnhapplyBright, 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, convexHull, correctRectangle, crossingLines, cube, cube, cube, cull, cull, cylinder, draw, draw, drawBeziers, drawBlur, drawBlur, drawBlur, 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, 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, polygonFourDouble, polygonRect, polyLine, projection, pyramid, pyramid, pyramidTrunc, rad2Deg, rectangle, rectangle, rectangle, rectangle, rectangleWithZ, rectangleY, rectangleZ, rectCenter, rectFromPolygon, rectFromRectZ, reset, restore, rotateLabel, rotateLabel, rotateRectangle, roundRectangle, roundRectangle, roundRectangle, save, setBackColor, setBrush, setColorPalette, setDirty, setFont, setGradient, setIZoomfactor, setMetafiling, setPen, setRotationCenter, setSmoothingMode, setTextAlign, setTextSmooth, setUseBuffer, setXCenter, setYCenter, sliceArray, sliceArray, sphere, sphere, sphere, textHeight, textHeight, textOut, textOut, textOut, textWidth, textWidth, transparency, transparentColor, transparentEllipse, transparentEllipse, triangle, triangle, unClipRectangle, validState, verticalLine, zLinegetChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringPropertypublic Graphics3DVML(java.io.OutputStream istream,
IBaseChart c)
public void resetState()
public void rotateTransform(Point p, double rotDegree)
public void resetTransform()
public int sizeToDIP(float value)
public int sizeToUnit(int unit,
float value)
public void fillRectangle(ChartBrush brush, int x, int y, int width, int height)
fillRectangle in class Graphics3Dpublic void initWindow(Aspect a, Rectangle r, int maxDepth)
initWindow in interface IGraphics3DinitWindow in class Graphics3Dpublic 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 - doublepublic void arc(int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int x4,
int y4)
Graphics3Darc in class Graphics3Dx1 - inty1 - intx2 - inty2 - intx3 - inty3 - intx4 - inty4 - intpublic void ellipse(int x1,
int y1,
int x2,
int y2)
ellipse in interface IGraphics3Dellipse in class Graphics3Dx1 - inty1 - intx2 - inty2 - intprotected void transparentEllipse(int x1,
int y1,
int x2,
int y2)
transparentEllipse in class Graphics3Dprotected void drawString(int x,
int y,
java.lang.String text,
ChartBrush aBrush)
drawString in class Graphics3Dpublic void clipRectangle(Rectangle r)
clipRectangle in interface IGraphics3DclipRectangle in class Graphics3Dr - Rectanglepublic void clipPolygon(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 - Rectanglepublic void rotateLabel(int x,
int y,
java.lang.String text,
double rotDegree)
rotateLabel in interface IGraphics3DrotateLabel in class Graphics3Dx - inty - inttext - StringrotDegree - doublepublic void pie(int x1,
int y1,
int x2,
int y2,
double startAngle,
double endAngle)
pie in class Graphics3Dx1 - inty1 - intx2 - inty2 - intstartAngle - doubleendAngle - doublepublic void eraseBackground(int left,
int top,
int right,
int bottom)
eraseBackground in class Graphics3Dleft - 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 Graphics3Dx - inty - intz - intcolor - Colorpublic boolean fillPieSegment(int x1,
int y1,
int x2,
int y2,
int sd,
int rd,
int cl)
fillPieSegment in class Graphics3Dpublic void polyLine(Point[] p)
polyLine in interface IGraphics3DpolyLine in class Graphics3Dp - Point[]public void polygon(PointDouble[] p)
polygon in interface IGraphics3Dpolygon in class Graphics3Dpublic void polygon(ChartBrush b, Point[] p)
b - ChartBrushp - Point[]public void polygon(Point[] p)
polygon in interface IGraphics3Dpolygon in class Graphics3Dp - Point[]public void draw(Rectangle r, Image image, boolean transparent, boolean smoothed)
r - Rectangleimage - Imagetransparent - booleansmoothed - booleanpublic void draw(int x,
int y,
Image image)
x - inty - intimage - Imagepublic void drawBeziers(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 - intprotected void line(ChartPen p, Point a, Point b)
line in class Graphics3Dpublic void moveTo(int x,
int y)
Graphics3DmoveTo in interface IGraphics3DmoveTo in class Graphics3Dx - inty - intpublic void lineTo(int x,
int y)
lineTo in interface IGraphics3DlineTo in class Graphics3Dx - inty - intpublic 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 Graphics3Dpublic 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 - intpublic void verticalLine(int x,
int top,
int bottom)
verticalLine in interface IGraphics3DverticalLine in class Graphics3Dx - inttop - intbottom - intpublic void donut(int xCenter,
int yCenter,
int xRadius,
int yRadius,
double startAngle,
double endAngle,
int donutPercent)
Graphics3Ddonut 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 holepublic 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 sphere(int x,
int y,
int radius,
int z)
sphere in interface IGraphics3Dsphere in class Graphics3Dpublic void sphere(int x,
int y,
int radius,
int z,
boolean enhanced)
sphere in interface IGraphics3Dsphere in class Graphics3Dpublic void setPixel(int x,
int y,
int z,
Color color)
setPixel in interface IGraphics3DsetPixel in class Graphics3Dpublic void ellipse(int left,
int top,
int right,
int bottom,
boolean enhanced)
ellipse in interface IGraphics3Dellipse in class Graphics3D