public abstract class Graphics3D extends TeeBase implements IGraphics3D
Title: Graphics3D class
Description: Access to central Chart drawing elements
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Class and Description |
---|---|
static class |
Graphics3D.RoundRectangleStyle |
IGraphics3D.PieRect
Modifier and Type | Field and Description |
---|---|
protected Aspect |
aspect |
protected Rectangle |
bounds |
protected ChartBrush |
brush |
static int |
DARKCOLORQUANTITY |
static int |
DARKERCOLORQUANTITY |
protected ChartFont |
font |
Point[] |
fourPoints |
PointDouble[] |
iPointDoubles |
protected boolean |
is3D |
protected boolean |
metafiling |
boolean |
monochrome |
protected ChartPen |
pen |
protected boolean |
smoothingMode |
protected StringFormat |
stringFormat |
protected boolean |
textSmooth |
chart, InternalUse
Constructor and Description |
---|
Graphics3D(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
static void |
applyBright(Color c,
int howMuch)
Converts the Color parameter to a brighter color.
|
static void |
applyDark(Color c,
int howMuch)
Converts the Color parameter to a darker color.
The HowMuch parameter indicates the quantity of dark increment. |
abstract void |
arc(int x1,
int y1,
int x2,
int y2,
double startAngle,
double sweepAngle) |
abstract 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 |
arc(Rectangle rect,
double startAngle,
double sweepAngle) |
void |
arc(Rectangle rect,
Point start,
Point end) |
void |
arrow(boolean filled,
Point fromPoint,
Point toPoint,
int headWidth,
int headHeight,
int z)
Draws a line with an arrow head of ArrowWidth and ArrowHeight dimensions
in pixels.
|
Point |
calc3DPoint(int x,
int y,
int z) |
Point |
calc3DPoint(Point3D p) |
Point |
calc3DPoint(Point p,
int z) |
Point |
calc3DPos(int x,
int y,
int z) |
Point |
calc3DPos(Point3D source)
Calculates and returns the XY position in pixels of the point p Z 3D
coordinate.
|
void |
calc3DPos(PointDouble point,
double x,
double y,
double z) |
void |
calc3DPos(PointDouble point,
int x,
int y,
int z)
Calculates and returns the XY position as double of the XYZ 3D
coordinate.
Can be used when custom drawing using 3D XYZ coordinates are returned from the axes or not. |
Point |
calc3DPos(Point source,
int z)
Calculates and returns the XY position in pixels of the point p Z 3D
coordinate.
Can be used when custom drawing using 3D XYZ coordinates are returned from the axes or not. |
void |
calc3DPos(Point p,
int x,
int y,
int z)
Calculates and returns the XY position in pixels of the XYZ 3D
coordinate.
Can be used when custom drawing using 3D XYZ coordinates are returned from the axes or not. |
void |
calc3DPos(Point result,
Point source)
Calculates and returns the XY position in pixels of the point p with Z =
0 3D coordinate.
Can be used when custom drawing using 3D XYZ coordinates are returned from the axes or not. |
void |
calcArcAngles(int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int x4,
int y4,
double startAngle,
double sweepAngle) |
void |
calcArcPoints(int x1,
int y1,
int x2,
int y2,
double startAngle,
double sweepAngle,
int x3,
int y3,
int x4,
int y4) |
void |
calcPerspective(Rectangle r) |
Rectangle |
calcRect3D(Rectangle r,
int z)
Calculates and returns the position in pixels of the Rectangle 3D
coordinates.
|
void |
calcTrigValues() |
Point |
calculate2DPosition(int x,
int y,
int z)
Calculates and returns the XY position in pixels of the coordinate.
|
Point |
calculate2DPosition(Point p,
int z) |
Point |
calculate3DPosition(int x,
int y,
int z)
Calculates and returns the XY position in pixels of the XYZ 3D
coordinate.
|
Point |
calculate3DPosition(Point3D P)
Calculates and returns the XY position in pixels of the XYZ 3D
coordinate.
|
Point |
calculate3DPosition(Point P,
int z)
Calculates and returns the XY position in pixels of the XYZ 3D
coordinate.
|
void |
changed(java.lang.Object o) |
void |
clipCube(Rectangle rect,
int minZ,
int maxZ)
Creates a cubic Windows GDI clipping region.
|
abstract void |
clipEllipse(Rectangle r) |
abstract void |
clipPolygon(Point[] p) |
void |
clipRectangle(int left,
int top,
int right,
int bottom)
Creates a Windows GDI clipping region and selects it into TChart.Canvas device context handle.
|
abstract void |
clipRectangle(Rectangle r) |
void |
cone(boolean vertical,
int left,
int top,
int right,
int bottom,
int z0,
int z1,
boolean darkSides)
Paints a cone.
|
void |
cone(boolean vertical,
int left,
int top,
int right,
int bottom,
int z0,
int z1,
boolean darkSides,
int conePercent) |
void |
cone(boolean vertical,
Rectangle r,
int z0,
int z1,
boolean darkSides)
Paints a cone.
|
void |
cone(boolean vertical,
Rectangle r,
int z0,
int z1,
boolean darkSides,
int conePercent)
Paints a cone with Cone Percent.
Use ONLY with OPENGL. This parameter varies the apex size as a percentage of the base. |
int |
convexHull(Point[] p)
Calculates the boundary points of the convex hull of a set of 2D xy
points. Original
|
protected Rectangle |
correctRectangle(Rectangle r) |
static LineCross |
crossingLines(double x1,
double y1,
double x2,
double y2,
double x3,
double y3,
double x4,
double y4)
Returns true if two lines cross.
|
void |
cube(int left,
int top,
int right,
int bottom,
int z0,
int z1,
boolean darkSides)
Draws a Cube with Dark Sides.
|
void |
cube(Rectangle r,
int z0,
int z1)
Draws a Cube.
|
void |
cube(Rectangle r,
int z0,
int z1,
boolean darkSides)
Draws a Cube with Dark Sides.
|
static boolean |
cull(Point[] p) |
static boolean |
cull(Point p0,
Point p1,
Point p2) |
void |
cylinder(boolean vertical,
Rectangle r,
int z0,
int z1,
boolean darkSides)
Draws cylinder toggle Boolean for vertical or horizontal cylinder.
|
void |
donut(int xCenter,
int yCenter,
int xRadius,
int yRadius,
double startAngle,
double endAngle,
int holePercent)
Draws a Donut slice.
|
void |
draw(Rectangle r,
Image image,
boolean transparent) |
void |
draw(Rectangle r,
Image image,
ImageMode mode,
boolean transparent)
Paints the image in rectangle r.
|
void |
drawBeziers(int z,
Point[] p)
Draws Bezier splines for the Point array p at displacement z
|
void |
drawBeziers(Point[] p)
Draws Bezier splines for the Point array p
|
void |
drawBlur(PointDouble[] p,
int smoothBlur) |
void |
drawBlur(Rectangle rect,
int smoothBlur,
boolean isEllipse) |
void |
drawBlur(Rectangle rect,
int smoothBlur,
int roundSize,
boolean isEllipse) |
protected abstract void |
drawString(int x,
int y,
java.lang.String text,
ChartBrush brush) |
abstract void |
ellipse(int x1,
int y1,
int x2,
int y2) |
void |
ellipse(int x1,
int y1,
int x2,
int y2,
boolean enhanced) |
void |
ellipse(int x1,
int y1,
int x2,
int y2,
int z)
Ellipse bounding Rect (X1,Y1,X2,Y2) at Z position.
|
void |
ellipse(int x1,
int y1,
int x2,
int y2,
int z,
boolean enhanced)
Enhanced Ellipse bounding rectangle (X1,Y1,X2,Y2) at Z position.
|
void |
ellipse(int left,
int top,
int right,
int bottom,
int z,
double angle)
Ellipse bounding rectangle (Left, Top, Right, Bottom) with Z offset at
angle.
|
void |
ellipse(Point p0,
Point p1) |
void |
ellipse(Rectangle r)
Draws an Ellipse bounding Rectangle r.
|
void |
ellipse(Rectangle r,
int z)
Ellipse bounding Rectangle r at z depth.
|
void |
ellipse(Rectangle r,
int z,
double angle)
Ellipse bounding rectangle r with Z offset at angle.
|
abstract void |
ellipseEnh(int x1,
int y1,
int x2,
int y2) |
abstract void |
eraseBackground(int left,
int top,
int right,
int bottom) |
abstract boolean |
fillPieSegment(int x1,
int y1,
int x2,
int y2,
int sd,
int rd,
int cl) |
abstract void |
fillRectangle(ChartBrush brush,
int x,
int y,
int width,
int height) |
void |
fillRectangle(Rectangle rect) |
int |
fontTextHeight(ChartFont f)
Determines the Font Height to be used for outputted text when using the
Drawing.
|
Point[] |
fourPointsFromRect(Rectangle r,
int z)
Returns an array of four Point objects
|
Aspect |
getAspect() |
Color |
getBackColor()
Sets / returns the color used to fill spaces when displaying text or
filling with brushes of different style other than bsSolid.
Brush.Visible must be set to true. |
ChartBrush |
getBrush()
Determines the kind of brush used to fill the Canvas draw rectangle
background.
The Brush.Visible method must be set to true. |
int |
getChartXCenter()
Returns the center Horizontal coordinate of the Chart.
|
int |
getChartYCenter()
Returns the middle Vertical coordinate of the Chart.
|
PointDouble[] |
getClipRoundRectangle(Rectangle rect,
int borderRound,
Graphics3D.RoundRectangleStyle borderStyle) |
Color[] |
getColorPalette() |
int |
getColorPaletteLength() |
Color |
getDefaultColor(int index)
Returns a color from global ColorPalette array variable.
|
static HatchStyle |
getDefaultPattern(int index)
Returns a valid Windows Brush Style from anpalette of many possible Brush
styles.
|
boolean |
getDirty() |
ChartFont |
getFont()
Determines the Font for outputted text when using the Drawing Canvas.
|
int |
getFontHeight()
Defines the Height of the Font in pixels.
|
Gradient |
getGradient()
Determines the Brush.Gradient properties of the Canvas.
|
protected double |
getIZoomfactor() |
boolean |
getMetafiling() |
boolean |
getMonochrome() |
ChartPen |
getPen()
Indicates the kind of pen used to draw Canvas lines.
|
protected Polygon |
getPolygon(Point[] p) |
static int[] |
getRectCenter(Rectangle r) |
Point3D |
getRotationCenter()
Sets the Pixel location (using X,Y,Z) of the centre of rotation for use
with the Aspect Rotation and Elevation properties.
|
boolean |
getSmoothingMode()
The anti-alias mode for the Graphics Pen when Custom drawing.
For example: AntiAlias - Specifies antialiased rendering. Default - Specifies the default mode. HighQuality - Specifies high quality, low speed rendering. |
boolean |
getSupports3DText()
Returns if Canvas supports 3D Text or not.
|
boolean |
getSupportsFullRotation()
Returns if Canvas can do rotation and elevation of more than 90 degree.
|
StringAlignment |
getTextAlign()
The alignment used when displaying text using TextOut or TextOut3D.
|
boolean |
getTextSmooth()
Chooses between speed or display quality for Text rendering.
|
boolean |
getUseBuffer()
Draws items to a canvas to prevent flickering on screen.
|
int |
getXCenter()
The X coordinate of the pixel location of the center of the 3D Canvas.
The origin of the pixel coordinate system is in the top left corner of the parent window. |
int |
getYCenter()
The Y coordinate of the pixel location of the center of the 3D Canvas.
The origin of the pixel coordinate system is in the top left corner of the parent window. |
abstract void |
horizontalLine(int left,
int right,
int y) |
void |
horizontalLine(int left,
int right,
int y,
int z)
Draws a Horizontal at z depth position.
|
void |
initWindow(Aspect a,
Rectangle r,
int maxDepth) |
protected abstract void |
line(ChartPen p,
Point a,
Point b) |
abstract void |
line(int x0,
int y0,
int x1,
int y1) |
void |
line(int x0,
int y0,
int x1,
int y1,
int z)
Draws a Line between co-ordinates with z depth offset.
|
void |
line(int x0,
int y0,
int z0,
int x1,
int y1,
int z1)
Draws a Line between co-ordinates with different start/end z depth
offset.
|
void |
line(Point p0,
Point p1)
Draws a Line between point p0 and point p1.
|
void |
line(Point p0,
Point p1,
int z)
Draws a Line between point p0 and point p1 with Z offset.
|
abstract void |
lineTo(int x,
int y) |
void |
lineTo(int x,
int y,
int z)
Draws line from present position to end co-ordinates with z depth offset.
|
void |
lineTo(Point p)
Draws a line to Point with z = 0 depth offset.
|
void |
lineTo(Point3D p)
Draws a Line to 3D Point.
|
void |
lineTo(Point p,
int z)
Draws a line to Point with z depth offset.
|
void |
lineWithZ(int x,
int y,
int x1,
int y1,
int z)
Obsolete. Use Line method instead.
|
abstract void |
measureString(Dimension size,
ChartFont f,
java.lang.String text) |
abstract void |
moveTo(int x,
int y)
Sets the value of PenPos to x and y co-ordinates before calling LineTo.
|
void |
moveTo(int x,
int y,
int z)
Sets the value of PenPos to x, y and z co-ordinates before calling
LineTo.
|
void |
moveTo(Point p)
Sets the value of PenPos to Point p before calling LineTo.
|
void |
moveTo(Point3D p)
Sets the value of PenPos to 3D Point p before calling LineTo.
|
void |
moveTo(Point p,
int z)
Sets the value of PenPos to Point p with z depth offset before calling
LineTo.
|
Rectangle |
orientRectangle(Rectangle rect) |
void |
paintBevel(BevelStyle bevel,
Rectangle rect,
int width,
Color one,
Color two) |
void |
paintImageBevel(Rectangle rect,
int width,
ChartPen pen,
ChartBrush brush,
int borderRound) |
abstract void |
pie(int x1,
int y1,
int x2,
int y2,
double startAngle,
double endAngle) |
void |
pie(int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int x4,
int y4)
Draws a Pie slice.
|
void |
pie(int xCenter,
int yCenter,
int xOffset,
int yOffset,
int xRadius,
int yRadius,
int z0,
int z1,
double startAngle,
double endAngle,
boolean darkSides,
boolean drawSides,
int donutPercent,
int bevelPercent,
EdgeStyle edgeStyle,
boolean last)
Draws a 3D Pie slice using start Angle and end Angle and donut percent.
|
abstract void |
pixel(int x,
int y,
int z,
Color color) |
void |
plane(int z0,
int z1,
Point[] p)
Draws a polygon using points array p with different start/end z depth
offset.
|
void |
plane(Point p1,
Point p2,
int z0,
int z1)
Draws a polygon (Point p1, Point p2) at Z depth offset.
|
void |
plane(Point p1,
Point p2,
Point p3,
Point p4,
int z)
Draws a polygon (Point p1, Point p2, Point p3, Point p4) at Z depth
offset.
|
void |
planeFour3D(int z0,
int z1,
Point[] p)
Draws a polygon of four points.
|
static Point |
pointAtDistance(Point From,
Point To,
int distance)
Returns point "ATo" minus ADist pixels from AFrom point.
|
PointDouble |
pointFromCircle(IGraphics3D.PieRect rect,
double degrees,
int zPos,
boolean clockWise) |
PointDouble |
pointFromCircle(Rectangle rectBounds,
double degrees) |
PointDouble |
pointFromCircle(Rectangle rectBounds,
double degrees,
int zPos,
boolean clockWise) |
PointDouble |
pointFromEllipse(Rectangle rectBounds,
double degrees)
Returns the PointDouble which is on the ellipse bounded by rectBounds at the angle degrees.
|
PointDouble |
pointFromEllipse(Rectangle rectBounds,
double degrees,
int zPos)
Returns the PointDouble which is on the ellipse bounded by rectBounds at
the angle degrees.
|
PointDouble |
pointFromSpiral(Rectangle rectBounds,
double degrees,
double twist) |
static boolean |
pointInEllipse(Point p,
int left,
int top,
int right,
int bottom)
Returns true if point P is inside the ellipse bounded by Left, Top,
Right, Bottom.
|
static boolean |
pointInEllipse(Point p,
Rectangle rect)
Returns true if point P is inside the ellipse bounded by Rect.
|
static boolean |
pointInHorizTriangle(Point p,
int y0,
int y1,
int x0,
int x1)
Returns true if point P is inside the horizontal triangle.
|
static boolean |
pointInLineTolerance(Point p,
int px,
int py,
int qx,
int qy,
int tolerance)
Determines if point p is "near" line segment between px,py point and
qx,qy point.
|
static boolean |
pointInLineTolerance(Point p,
Point p0,
Point p1,
int tolerancePixels)
Determines if point p is "near" line segment between p0 and p1.
|
static boolean |
pointInPolygon(Point p,
Point[] poly)
Returns true if point P is inside Poly polygon.
|
static boolean |
pointInRect(Rectangle rect,
int x,
int y)
Obsolete. Please use Rectangle.Contains method.
|
static boolean |
pointInTriangle(Point p,
int x0,
int x1,
int y0,
int y1)
Returns true if point P is inside the vert triangle of x0y0, midxY1,
x1y0.
|
void |
polygon(double z,
PointDouble[] p) |
void |
polygon(int z,
Point[] p)
Draws a polygon with z position offset.
|
abstract void |
polygon(Point[] p) |
void |
polygon(Point3D[] p) |
abstract void |
polygon(PointDouble[] p) |
void |
polygon(PointDouble[] p,
int size) |
void |
polygon(Point p0,
Point p1,
Point p2) |
void |
polygonFourDouble() |
static Rectangle |
polygonRect(Point[] p)
Returns bounding rectangle for point array p
|
void |
polyLine(int z,
Point[] p)
Draws a series of line segments to join point array p at z displacement.
|
abstract void |
polyLine(Point[] p) |
abstract void |
prepareDrawImage() |
void |
projection(int maxDepth,
Rectangle r)
Internal use.
|
void |
pyramid(boolean vertical,
int left,
int top,
int right,
int bottom,
int z0,
int z1,
boolean darkSides)
Draws a vertical or horizontal Pyramid with optional dark shaded sides.
|
void |
pyramid(boolean vertical,
Rectangle r,
int z0,
int z1,
boolean darkSides)
Draws a vertical or horizontal Pyramid with optional dark shaded sides.
|
void |
pyramidTrunc(Rectangle r,
int startZ,
int endZ,
int truncX,
int truncZ)
Draws a pyramid with a truncated apex of variable thickness.
|
protected static double |
rad2Deg(double radian) |
void |
rectangle(ChartBrush b,
int x,
int y,
int right,
int bottom) |
abstract void |
rectangle(ChartBrush b,
Rectangle r) |
void |
rectangle(int left,
int top,
int right,
int bottom)
Draws a rectangle between the defined co-ordinates.
|
void |
rectangle(int left,
int top,
int right,
int bottom,
int z)
Draws a rectangle between the defined co-ordinates with z depth.
|
abstract void |
rectangle(Rectangle r) |
void |
rectangle(Rectangle r,
int z)
Draws a Rectangle (Rectangle r) at z depth.
|
void |
rectangleWithZ(Rectangle r,
int z)
Obsolete. Please use Rectangle method instead.
|
void |
rectangleY(int left,
int top,
int right,
int z0,
int z1)
Horizontal Rectangle from Left to Right, from Z0 to Z1 position, at Top
Y.
|
void |
rectangleZ(int left,
int top,
int bottom,
int z0,
int z1)
Horizontal Rectangle from Left to Right, from Z0 to Z1 position, at Top
Y.
|
static Point |
rectCenter(Rectangle r) |
Rectangle |
rectFromPolygon(int num,
Point[] p)
Returns the bounding rectangle for a given array of XY points.
|
Rectangle |
rectFromRectZ(Rectangle r,
int z)
Returns the smallest bounding rectangle containing the four corners of
the "R" rectangle after calculating their 3D position.
|
void |
reset() |
void |
restore() |
void |
rotateLabel(int x,
int y,
int z,
java.lang.String text,
double rotDegree)
Draws a rotated text String at the specified x,y and z coordinates with
the RotDegree rotation angle.
RotDegree values must be between 0 and 360. The string is drawn on the Chart Drawing Canvas. |
abstract void |
rotateLabel(int x,
int y,
java.lang.String text,
double rotDegree) |
void |
rotateLabel(Point p,
java.lang.String text,
double rotDegree)
Draws a rotated text String at the specified Point x,y coordinates with
the RotDegree rotation angle.
RotDegree values must be between 0 and 360. The string is drawn on the Chart Drawing Canvas. |
Point[] |
rotateRectangle(Rectangle r,
double angle) |
void |
roundRectangle(Rectangle r)
Draws a rectangle with rounded corners of personalized curvature and
size.
|
void |
roundRectangle(Rectangle rect,
int roundRect) |
abstract void |
roundRectangle(Rectangle r,
int roundWidth,
int roundHeight) |
void |
roundRectangle(Rectangle r,
int roundWidth,
int roundHeight,
int z,
Graphics3D.RoundRectangleStyle roundStyle) |
void |
save() |
void |
setBackColor(Color value) |
void |
setBrush(ChartBrush value)
Determines the kind of brush used to fill the Canvas draw rectangle
background.
The Brush.Visible method must be set to true. |
void |
setColorPalette(Color[] palette)
Specifies a color from global ColorPalette array variable.
|
void |
setDirty(boolean value) |
void |
setFont(ChartFont value)
Determines the Font for outputted text when using the Drawing Canvas.
|
void |
setGradient(Gradient value)
Determines the Brush.Gradient properties of the Canvas.
|
abstract void |
setGraphics(java.lang.Object value) |
protected void |
setIZoomfactor(double value) |
void |
setMetafiling(boolean value) |
void |
setPen(ChartPen value)
Determines the kind of pen used to draw Canvas lines.
|
abstract void |
setPixel(int x,
int y,
int z,
Color color) |
void |
setRotationCenter(Point3D value) |
void |
setSmoothingMode(boolean value)
Sets the anti-alias mode for the Graphics Pen when Custom drawing.
For example: AntiAlias - Specifies antialiased rendering. Default - Specifies the default mode. HighQuality - Specifies high quality, low speed rendering. |
void |
setTextAlign(StringAlignment value)
Sets the alignment used when displaying text using TextOut or TextOut3D.
|
void |
setTextSmooth(boolean value) |
void |
setUseBuffer(boolean value) |
void |
setXCenter(int value)
Specifies the X coordinate of the pixel location of the center of the 3D
Canvas.
The origin of the pixel coordinate system is in the top left corner of the parent window. |
void |
setYCenter(int value)
Specifies the Y coordinate of the pixel location of the center of the 3D
Canvas.
The origin of the pixel coordinate system is in the top left corner of the parent window. |
static Point[] |
sliceArray(Point[] source,
int length) |
static PointDouble[] |
sliceArray(PointDouble[] source,
int length) |
void |
sphere(int x,
int y,
int z,
double radius) |
void |
sphere(int x0,
int y0,
int x1,
int y1) |
void |
sphere(int x,
int y,
int z,
int radius,
boolean enhanced) |
void |
sphere(int x1,
int y1,
int x2,
int y2,
int z,
boolean enhanced) |
void |
sphere(Rectangle rect,
int z,
boolean enhanced) |
protected abstract void |
sphereEnh(int x1,
int y1,
int x2,
int y2) |
int |
textHeight(ChartFont f,
java.lang.String text)
Returns the vertical text size in pixels of ChartFont f.
|
int |
textHeight(java.lang.String text)
Returns the vertical size in pixels of the text String.
|
void |
textOut(int x,
int y,
int z,
java.lang.String text)
Displays 2D non-rotated label at the specified x,y and z screen
coordinates.
Text is outputted to the correct internal Drawing Canvas. |
void |
textOut(int x,
int y,
java.lang.String text)
Displays the 2D non-rotated label at the specified X Y screen
coordinates.
Text is outputted to the correct internal drawing Graphics2D. |
void |
textOut(Point p,
java.lang.String text) |
int |
textWidth(ChartFont f,
java.lang.String text)
Returns the horizontal text size in pixels of ChartFont f.
|
int |
textWidth(java.lang.String text)
Returns the horizontal size in pixels of the text String.
|
static int |
transparency(Color color)
Returns percentage based on Color "A" value.
It is a value between 0 and 100 which sets the transparency percentage with respect foreground to background. |
static Color |
transparentColor(int transparency,
Color color)
Returns Color parameter after changing its "A" value.
|
protected abstract void |
transparentEllipse(int x1,
int y1,
int x2,
int y2) |
void |
transparentEllipse(int x1,
int y1,
int x2,
int y2,
int z) |
protected void |
transparentEllipse(Point p0,
Point p1) |
void |
triangle(Point p0,
Point p1,
Point p2,
int z)
Draws a triangle (point p0, pointp1, pointp2) at Z position.
|
void |
triangle(Triangle3D p)
Draws a triangle (Triangle3D p).
|
abstract void |
unClip() |
void |
unClipRectangle()
Obsolete. Please use UnClip() method instead.
|
boolean |
validState() |
abstract void |
verticalLine(int x,
int top,
int bottom) |
void |
verticalLine(int x,
int top,
int bottom,
int z)
Draws a Vertical Line from (X,Top) to (X,Bottom) at z depth position.
|
void |
zLine(int x,
int y,
int z0,
int z1)
Draws a Line from (X,Y,Z0) to (X,Y,Z1).
|
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
draw, draw, getGraphics, polygon, resetState, resetTransform, rotateTransform, showImage, sizeToDIP, sizeToUnit
public static final int DARKCOLORQUANTITY
public static final int DARKERCOLORQUANTITY
public Point[] fourPoints
protected boolean smoothingMode
protected transient boolean textSmooth
protected Rectangle bounds
protected StringFormat stringFormat
protected ChartPen pen
protected ChartBrush brush
protected ChartFont font
protected Aspect aspect
public PointDouble[] iPointDoubles
protected boolean is3D
protected boolean metafiling
public boolean monochrome
public Graphics3D(IBaseChart c)
public void reset()
public void save()
save
in interface IGraphics3D
public void restore()
restore
in interface IGraphics3D
public Aspect getAspect()
getAspect
in interface IGraphics3D
public ChartPen getPen()
getPen
in interface IGraphics3D
public void setPen(ChartPen value)
setPen
in interface IGraphics3D
value
- ChartPenpublic ChartBrush getBrush()
getBrush
in interface IGraphics3D
public void setBrush(ChartBrush value)
setBrush
in interface IGraphics3D
value
- ChartBrushpublic void changed(java.lang.Object o)
changed
in interface IGraphics3D
public Gradient getGradient()
getGradient
in interface IGraphics3D
public void setGradient(Gradient value)
value
- Gradientpublic boolean getDirty()
getDirty
in interface IGraphics3D
public ChartFont getFont()
getFont
in interface IGraphics3D
public void setFont(ChartFont value)
setFont
in interface IGraphics3D
value
- ChartFontpublic int getColorPaletteLength()
getColorPaletteLength
in interface IGraphics3D
public Color[] getColorPalette()
getColorPalette
in interface IGraphics3D
public boolean getMetafiling()
getMetafiling
in interface IGraphics3D
public void setMetafiling(boolean value)
setMetafiling
in interface IGraphics3D
public Color getDefaultColor(int index)
getDefaultColor
in interface IGraphics3D
index
- intpublic void setColorPalette(Color[] palette)
setColorPalette
in interface IGraphics3D
palette
- Color[]public static void applyDark(Color c, int howMuch)
c
- ColorhowMuch
- intpublic static void applyBright(Color c, int howMuch)
c
- ColorhowMuch
- intpublic static boolean cull(Point[] p)
public boolean getMonochrome()
getMonochrome
in interface IGraphics3D
public StringAlignment getTextAlign()
getTextAlign
in interface IGraphics3D
public void setTextAlign(StringAlignment value)
setTextAlign
in interface IGraphics3D
value
- StringAlignmentpublic Point[] rotateRectangle(Rectangle r, double angle)
rotateRectangle
in interface IGraphics3D
public static boolean pointInLineTolerance(Point p, Point p0, Point p1, int tolerancePixels)
p
- Pointp0
- Pointp1
- PointtolerancePixels
- intpublic static boolean pointInLineTolerance(Point p, int px, int py, int qx, int qy, int tolerance)
p
- Pointpx
- intpy
- intqx
- intqy
- inttolerance
- intpublic static HatchStyle getDefaultPattern(int index)
index
- intpublic Rectangle rectFromPolygon(int num, Point[] p)
num
- intp
- Point[]public static boolean pointInRect(Rectangle rect, int x, int y)
rect
- Rectanglex
- inty
- intpublic static boolean pointInTriangle(Point p, int x0, int x1, int y0, int y1)
p
- Pointx0
- intx1
- inty0
- inty1
- intpublic static boolean pointInHorizTriangle(Point p, int y0, int y1, int x0, int x1)
p
- Pointy0
- inty1
- intx0
- intx1
- intpublic static Point pointAtDistance(Point From, Point To, int distance)
public PointDouble pointFromEllipse(Rectangle rectBounds, double degrees)
public PointDouble pointFromEllipse(Rectangle rectBounds, double degrees, int zPos)
pointFromEllipse
in interface IGraphics3D
public PointDouble pointFromCircle(Rectangle rectBounds, double degrees)
pointFromCircle
in interface IGraphics3D
public PointDouble pointFromCircle(Rectangle rectBounds, double degrees, int zPos, boolean clockWise)
pointFromCircle
in interface IGraphics3D
public PointDouble pointFromSpiral(Rectangle rectBounds, double degrees, double twist)
pointFromSpiral
in interface IGraphics3D
public PointDouble pointFromCircle(IGraphics3D.PieRect rect, double degrees, int zPos, boolean clockWise)
pointFromCircle
in interface IGraphics3D
public static boolean pointInEllipse(Point p, int left, int top, int right, int bottom)
p
- Pointleft
- inttop
- intright
- intbottom
- intpublic static boolean pointInEllipse(Point p, Rectangle rect)
p
- Pointrect
- Rectanglepublic static boolean pointInPolygon(Point p, Point[] poly)
p
- Pointpoly
- Point[]protected double getIZoomfactor()
protected void setIZoomfactor(double value)
public int getXCenter()
getXCenter
in interface IGraphics3D
public void setXCenter(int value)
setXCenter
in interface IGraphics3D
value
- intpublic int getYCenter()
getYCenter
in interface IGraphics3D
public void setYCenter(int value)
setYCenter
in interface IGraphics3D
value
- intpublic boolean getSmoothingMode()
getSmoothingMode
in interface IGraphics3D
public void setSmoothingMode(boolean value)
setSmoothingMode
in interface IGraphics3D
value
- booleanpublic boolean getTextSmooth()
getTextSmooth
in interface IGraphics3D
public void setTextSmooth(boolean value)
setTextSmooth
in interface IGraphics3D
public boolean getSupports3DText()
getSupports3DText
in interface IGraphics3D
public Point calculate3DPosition(Point3D P)
P
- Point3Dpublic Point calculate3DPosition(int x, int y, int z)
calculate3DPosition
in interface IGraphics3D
x
- inty
- intz
- intpublic Point calculate3DPosition(Point P, int z)
P
- Pointz
- intpublic Point calculate2DPosition(int x, int y, int z)
calculate2DPosition
in interface IGraphics3D
x
- inty
- intz
- intpublic void calcArcAngles(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, double startAngle, double sweepAngle)
public void calcArcPoints(int x1, int y1, int x2, int y2, double startAngle, double sweepAngle, int x3, int y3, int x4, int y4)
public Point calc3DPoint(Point3D p)
calc3DPoint
in interface IGraphics3D
public Point calc3DPoint(int x, int y, int z)
calc3DPoint
in interface IGraphics3D
public Point calc3DPoint(Point p, int z)
calc3DPoint
in interface IGraphics3D
public Point calc3DPos(Point3D source)
calc3DPos
in interface IGraphics3D
source
- Point3Dpublic Point calc3DPos(Point source, int z)
calc3DPos
in interface IGraphics3D
source
- Pointz
- intpublic void calc3DPos(Point result, Point source)
calc3DPos
in interface IGraphics3D
source
- Pointpublic void calc3DPos(Point p, int x, int y, int z)
calc3DPos
in interface IGraphics3D
x
- inty
- intz
- intpublic Point calc3DPos(int x, int y, int z)
public void calc3DPos(PointDouble point, double x, double y, double z)
calc3DPos
in interface IGraphics3D
public void calc3DPos(PointDouble point, int x, int y, int z)
public static Color transparentColor(int transparency, Color color)
transparency
- int from 0 to 100color
- Colorpublic static int transparency(Color color)
color
- Colorpublic Rectangle calcRect3D(Rectangle r, int z)
calcRect3D
in interface IGraphics3D
r
- Rectanglez
- intpublic Point[] fourPointsFromRect(Rectangle r, int z)
fourPointsFromRect
in interface IGraphics3D
r
- Rectanglez
- intpublic Rectangle rectFromRectZ(Rectangle r, int z)
rectFromRectZ
in interface IGraphics3D
r
- Rectanglez
- intpublic abstract void moveTo(int x, int y)
moveTo
in interface IGraphics3D
x
- inty
- intpublic void moveTo(Point p)
moveTo
in interface IGraphics3D
p
- Pointpublic void moveTo(int x, int y, int z)
moveTo
in interface IGraphics3D
x
- inty
- intz
- intpublic void moveTo(Point p, int z)
moveTo
in interface IGraphics3D
p
- Pointz
- intpublic void moveTo(Point3D p)
moveTo
in interface IGraphics3D
p
- Point3Dpublic void lineTo(Point p, int z)
lineTo
in interface IGraphics3D
p
- Pointz
- intpublic void lineTo(Point p)
lineTo
in interface IGraphics3D
p
- Pointpublic void lineTo(int x, int y, int z)
lineTo
in interface IGraphics3D
x
- inty
- intz
- intpublic void lineTo(Point3D p)
lineTo
in interface IGraphics3D
p
- Point3Dpublic void line(Point p0, Point p1, int z)
line
in interface IGraphics3D
p0
- Point Origin xyp1
- Point Destination xyz
- int Depth offsetpublic void line(Point p0, Point p1)
line
in interface IGraphics3D
p0
- Point is origin xyp1
- Point is destination xypublic void line(int x0, int y0, int z0, int x1, int y1, int z1)
line
in interface IGraphics3D
x0
- inty0
- intz0
- intx1
- inty1
- intz1
- intpublic void line(int x0, int y0, int x1, int y1, int z)
line
in interface IGraphics3D
x0
- inty0
- intx1
- inty1
- intz
- intpublic void verticalLine(int x, int top, int bottom, int z)
verticalLine
in interface IGraphics3D
x
- inttop
- intbottom
- intz
- intpublic void pie(int xCenter, int yCenter, int xOffset, int yOffset, int xRadius, int yRadius, int z0, int z1, double startAngle, double endAngle, boolean darkSides, boolean drawSides, int donutPercent, int bevelPercent, EdgeStyle edgeStyle, boolean last)
pie
in interface IGraphics3D
xCenter
- intyCenter
- intxRadius
- intyRadius
- intz0
- intz1
- intstartAngle
- doubleendAngle
- doubledarkSides
- booleandrawSides
- booleandonutPercent
- int public void pie(int xCenter, int yCenter, int xRadius, int
yRadius, int z0, int z1, final double startAngle, final double
endAngle, boolean darkSides, boolean drawSides, int
donutPercent) { if (pie3D == null) { pie3D = new Pie3D(this);
} }public void lineWithZ(int x, int y, int x1, int y1, int z)
x
- inty
- intx1
- inty1
- intz
- intpublic void arc(Rectangle rect, double startAngle, double sweepAngle)
arc
in interface IGraphics3D
public abstract void arc(int x1, int y1, int x2, int y2, double startAngle, double sweepAngle)
arc
in interface IGraphics3D
public void arc(Rectangle rect, Point start, Point end)
arc
in interface IGraphics3D
protected static double rad2Deg(double radian)
public abstract void arc(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4)
x1
- inty1
- intx2
- inty2
- intx3
- inty3
- intx4
- inty4
- intpublic void ellipse(Rectangle r)
ellipse
in interface IGraphics3D
r
- Rectanglepublic void ellipse(Rectangle r, int z)
ellipse
in interface IGraphics3D
r
- Rectanglez
- intprotected abstract void transparentEllipse(int x1, int y1, int x2, int y2)
public void transparentEllipse(int x1, int y1, int x2, int y2, int z)
transparentEllipse
in interface IGraphics3D
public void ellipse(int x1, int y1, int x2, int y2, int z)
ellipse
in interface IGraphics3D
x1
- inty1
- intx2
- inty2
- intz
- intpublic void ellipse(Rectangle r, int z, double angle)
ellipse
in interface IGraphics3D
r
- Rectanglez
- intangle
- doublepublic abstract void fillRectangle(ChartBrush brush, int x, int y, int width, int height)
public void ellipse(int x1, int y1, int x2, int y2, boolean enhanced)
ellipse
in interface IGraphics3D
public void ellipse(int x1, int y1, int x2, int y2, int z, boolean enhanced)
ellipse
in interface IGraphics3D
x1
- inty1
- intx2
- inty2
- intz
- intenhanced
- booleanpublic abstract void ellipseEnh(int x1, int y1, int x2, int y2)
public void sphere(int x0, int y0, int x1, int y1)
sphere
in interface IGraphics3D
public void sphere(int x, int y, int z, int radius, boolean enhanced)
sphere
in interface IGraphics3D
public void sphere(int x1, int y1, int x2, int y2, int z, boolean enhanced)
public void sphere(Rectangle rect, int z, boolean enhanced)
sphere
in interface IGraphics3D
protected abstract void sphereEnh(int x1, int y1, int x2, int y2)
public abstract void ellipse(int x1, int y1, int x2, int y2)
ellipse
in interface IGraphics3D
public void plane(Point p1, Point p2, Point p3, Point p4, int z)
plane
in interface IGraphics3D
p1
- Pointp2
- Pointp3
- Pointp4
- Pointz
- intpublic void plane(Point p1, Point p2, int z0, int z1)
plane
in interface IGraphics3D
p1
- Pointp2
- Pointz0
- intz1
- intpublic void plane(int z0, int z1, Point[] p)
z0
- intz1
- intp
- Point[]public void textOut(int x, int y, java.lang.String text)
textOut
in interface IGraphics3D
x
- inty
- inttext
- Stringpublic void textOut(int x, int y, int z, java.lang.String text)
textOut
in interface IGraphics3D
x
- inty
- intz
- inttext
- Stringpublic void textOut(Point p, java.lang.String text)
public void roundRectangle(Rectangle r)
roundRectangle
in interface IGraphics3D
r
- Rectanglepublic void roundRectangle(Rectangle rect, int roundRect)
roundRectangle
in interface IGraphics3D
public void roundRectangle(Rectangle r, int roundWidth, int roundHeight, int z, Graphics3D.RoundRectangleStyle roundStyle)
roundRectangle
in interface IGraphics3D
public PointDouble[] getClipRoundRectangle(Rectangle rect, int borderRound, Graphics3D.RoundRectangleStyle borderStyle)
public static int[] getRectCenter(Rectangle r)
public void calcPerspective(Rectangle r)
calcPerspective
in interface IGraphics3D
public void projection(int maxDepth, Rectangle r)
projection
in interface IGraphics3D
maxDepth
- int is the max shape depthr
- Rectangle is the projected shape rectanglepublic void pyramid(boolean vertical, Rectangle r, int z0, int z1, boolean darkSides)
pyramid
in interface IGraphics3D
vertical
- booleanr
- Rectanglez0
- intz1
- intdarkSides
- booleanpublic void pyramid(boolean vertical, int left, int top, int right, int bottom, int z0, int z1, boolean darkSides)
pyramid
in interface IGraphics3D
vertical
- booleanleft
- inttop
- intright
- intbottom
- intz0
- intz1
- intdarkSides
- booleanpublic void planeFour3D(int z0, int z1, Point[] p)
planeFour3D
in interface IGraphics3D
z0
- intz1
- intp
- Point[]public abstract void eraseBackground(int left, int top, int right, int bottom)
public abstract void rectangle(Rectangle r)
rectangle
in interface IGraphics3D
public abstract void roundRectangle(Rectangle r, int roundWidth, int roundHeight)
roundRectangle
in interface IGraphics3D
public Color getBackColor()
public void setBackColor(Color value)
setBackColor
in interface IGraphics3D
public boolean getSupportsFullRotation()
getSupportsFullRotation
in interface IGraphics3D
public boolean getUseBuffer()
public void setUseBuffer(boolean value)
public Point3D getRotationCenter()
public void setRotationCenter(Point3D value)
public int getChartXCenter()
public int getChartYCenter()
public int fontTextHeight(ChartFont f)
fontTextHeight
in interface IGraphics3D
f
- ChartFontpublic int getFontHeight()
getFontHeight
in interface IGraphics3D
public void polygonFourDouble()
public void rectangleZ(int left, int top, int bottom, int z0, int z1)
rectangleZ
in interface IGraphics3D
left
- inttop
- intbottom
- intz0
- intz1
- intpublic void rectangleY(int left, int top, int right, int z0, int z1)
rectangleY
in interface IGraphics3D
left
- inttop
- intright
- intz0
- intz1
- intpublic void rectangleWithZ(Rectangle r, int z)
r
- Rectanglez
- intpublic void rectangle(int left, int top, int right, int bottom, int z)
rectangle
in interface IGraphics3D
left
- inttop
- intright
- intbottom
- intz
- intpublic void rectangle(Rectangle r, int z)
rectangle
in interface IGraphics3D
r
- Rectanglez
- intpublic void draw(Rectangle r, Image image, boolean transparent)
draw
in interface IGraphics3D
public abstract void pie(int x1, int y1, int x2, int y2, double startAngle, double endAngle)
public abstract void polygon(Point[] p)
polygon
in interface IGraphics3D
public abstract void polygon(PointDouble[] p)
polygon
in interface IGraphics3D
public abstract boolean fillPieSegment(int x1, int y1, int x2, int y2, int sd, int rd, int cl)
public void polygon(Point3D[] p)
polygon
in interface IGraphics3D
public void polygon(PointDouble[] p, int size)
public void polygon(double z, PointDouble[] p)
polygon
in interface IGraphics3D
public void polygon(int z, Point[] p)
polygon
in interface IGraphics3D
z
- intp
- Point[]public void cone(boolean vertical, int left, int top, int right, int bottom, int z0, int z1, boolean darkSides, int conePercent)
cone
in interface IGraphics3D
public void cone(boolean vertical, int left, int top, int right, int bottom, int z0, int z1, boolean darkSides)
cone
in interface IGraphics3D
vertical
- booleanleft
- inttop
- intright
- intbottom
- intz0
- intz1
- intdarkSides
- booleanpublic void cone(boolean vertical, Rectangle r, int z0, int z1, boolean darkSides)
vertical
- booleanr
- Rectanglez0
- intz1
- intdarkSides
- booleanpublic void cone(boolean vertical, Rectangle r, int z0, int z1, boolean darkSides, int conePercent)
cone
in interface IGraphics3D
vertical
- booleanr
- Rectanglez0
- intz1
- intdarkSides
- booleanconePercent
- int varies the apex size as a percentage of the base.public int convexHull(Point[] p)
convexHull
in interface IGraphics3D
p
- Point[]public void cylinder(boolean vertical, Rectangle r, int z0, int z1, boolean darkSides)
cylinder
in interface IGraphics3D
vertical
- booleanr
- Rectanglez0
- intz1
- intdarkSides
- booleanpublic static LineCross crossingLines(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4)
x1
- doubley1
- doublex2
- doubley2
- doublex3
- doubley3
- doublex4
- doubley4
- doublepublic void cube(Rectangle r, int z0, int z1)
r
- Rectanglez0
- intz1
- intpublic void cube(Rectangle r, int z0, int z1, boolean darkSides)
cube
in interface IGraphics3D
r
- Rectanglez0
- intz1
- intdarkSides
- booleanpublic void cube(int left, int top, int right, int bottom, int z0, int z1, boolean darkSides)
cube
in interface IGraphics3D
left
- inttop
- intright
- intbottom
- intz0
- intz1
- intdarkSides
- booleanpublic static PointDouble[] sliceArray(PointDouble[] source, int length)
public void donut(int xCenter, int yCenter, int xRadius, int yRadius, double startAngle, double endAngle, int holePercent)
donut
in interface IGraphics3D
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 endholePercent
- int percent from 0 to 100 of donut center holepublic void arrow(boolean filled, Point fromPoint, Point toPoint, int headWidth, int headHeight, int z)
arrow
in interface IGraphics3D
filled
- booleanfromPoint
- PointtoPoint
- PointheadWidth
- intheadHeight
- intz
- intpublic void calcTrigValues()
calcTrigValues
in interface IGraphics3D
public void initWindow(Aspect a, Rectangle r, int maxDepth)
initWindow
in interface IGraphics3D
public int textHeight(ChartFont f, java.lang.String text)
textHeight
in interface IGraphics3D
f
- ChartFonttext
- Stringpublic int textWidth(ChartFont f, java.lang.String text)
textWidth
in interface IGraphics3D
f
- ChartFonttext
- Stringpublic int textHeight(java.lang.String text)
textHeight
in interface IGraphics3D
text
- Stringpublic int textWidth(java.lang.String text)
textWidth
in interface IGraphics3D
text
- Stringpublic void triangle(Point p0, Point p1, Point p2, int z)
triangle
in interface IGraphics3D
p0
- Pointp1
- Pointp2
- Pointz
- intpublic void triangle(Triangle3D p)
triangle
in interface IGraphics3D
p
- Triangle3Dprotected abstract void drawString(int x, int y, java.lang.String text, ChartBrush brush)
public abstract void measureString(Dimension size, ChartFont f, java.lang.String text)
measureString
in interface IGraphics3D
public void zLine(int x, int y, int z0, int z1)
zLine
in interface IGraphics3D
x
- inty
- intz0
- intz1
- intpublic void drawBeziers(int z, Point[] p)
drawBeziers
in interface IGraphics3D
z
- intp
- Point[]public void rotateLabel(int x, int y, int z, java.lang.String text, double rotDegree)
rotateLabel
in interface IGraphics3D
x
- inty
- intz
- inttext
- StringrotDegree
- doublepublic void rotateLabel(Point p, java.lang.String text, double rotDegree)
p
- Pointtext
- StringrotDegree
- doublepublic void pie(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4)
x1
- inty1
- intx2
- inty2
- intx3
- inty3
- intx4
- inty4
- intpublic void horizontalLine(int left, int right, int y, int z)
horizontalLine
in interface IGraphics3D
left
- intright
- inty
- intz
- intpublic static Rectangle polygonRect(Point[] p)
p
- Point[]public void sphere(int x, int y, int z, double radius)
public void rectangle(int left, int top, int right, int bottom)
rectangle
in interface IGraphics3D
left
- inttop
- intright
- intbottom
- intpublic void ellipse(int left, int top, int right, int bottom, int z, double angle)
left
- inttop
- intright
- intbottom
- intz
- intangle
- doublepublic void clipRectangle(int left, int top, int right, int bottom)
left
- inttop
- intright
- intbottom
- intpublic abstract void clipRectangle(Rectangle r)
clipRectangle
in interface IGraphics3D
public void unClipRectangle()
public void pyramidTrunc(Rectangle r, int startZ, int endZ, int truncX, int truncZ)
pyramidTrunc
in interface IGraphics3D
r
- RectanglestartZ
- intendZ
- inttruncX
- inttruncZ
- intpublic void clipCube(Rectangle rect, int minZ, int maxZ)
clipCube
in interface IGraphics3D
rect
- RectangleminZ
- intmaxZ
- intpublic abstract void clipEllipse(Rectangle r)
clipEllipse
in interface IGraphics3D
public abstract void clipPolygon(Point[] p)
clipPolygon
in interface IGraphics3D
public void draw(Rectangle r, Image image, ImageMode mode, boolean transparent)
draw
in interface IGraphics3D
r
- Rectangleimage
- Imagemode
- ImageModetransparent
- booleanpublic abstract void horizontalLine(int left, int right, int y)
horizontalLine
in interface IGraphics3D
public abstract void pixel(int x, int y, int z, Color color)
public void polyLine(int z, Point[] p)
polyLine
in interface IGraphics3D
z
- intp
- Point[]public abstract void polyLine(Point[] p)
polyLine
in interface IGraphics3D
public abstract void rotateLabel(int x, int y, java.lang.String text, double rotDegree)
rotateLabel
in interface IGraphics3D
public abstract void unClip()
unClip
in interface IGraphics3D
public abstract void verticalLine(int x, int top, int bottom)
verticalLine
in interface IGraphics3D
public abstract void line(int x0, int y0, int x1, int y1)
line
in interface IGraphics3D
public abstract void lineTo(int x, int y)
lineTo
in interface IGraphics3D
public void drawBeziers(Point[] p)
drawBeziers
in interface IGraphics3D
p
- Point[]public abstract void prepareDrawImage()
prepareDrawImage
in interface IGraphics3D
public boolean validState()
public void paintBevel(BevelStyle bevel, Rectangle rect, int width, Color one, Color two)
paintBevel
in interface IGraphics3D
public Rectangle orientRectangle(Rectangle rect)
orientRectangle
in interface IGraphics3D
public void fillRectangle(Rectangle rect)
public void paintImageBevel(Rectangle rect, int width, ChartPen pen, ChartBrush brush, int borderRound)
paintImageBevel
in interface IGraphics3D
public abstract void rectangle(ChartBrush b, Rectangle r)
rectangle
in interface IGraphics3D
public void rectangle(ChartBrush b, int x, int y, int right, int bottom)
public abstract void setGraphics(java.lang.Object value)
setGraphics
in interface IGraphics3D
public abstract void setPixel(int x, int y, int z, Color color)
setPixel
in interface IGraphics3D
public void setDirty(boolean value)
setDirty
in interface IGraphics3D
public void drawBlur(Rectangle rect, int smoothBlur, boolean isEllipse)
drawBlur
in interface IGraphics3D
public void drawBlur(Rectangle rect, int smoothBlur, int roundSize, boolean isEllipse)
drawBlur
in interface IGraphics3D
public void drawBlur(PointDouble[] p, int smoothBlur)
drawBlur
in interface IGraphics3D