com.linksoft.chart.gc
Class ChartGraphics
java.lang.Object
com.linksoft.chart.gc.ChartGraphics
- Direct Known Subclasses:
- ChartAwt1Graphics, ChartAwtGraphics, ChartSwtGraphics
- public abstract class ChartGraphics
- extends java.lang.Object
Copyright (c) 2002-2005 LinkSoft Systems, Inc. All Rights Reserved
|
Method Summary |
void |
createFadeArea(ChartColor chartcolor,
ChartColor chartcolor1,
int i,
int j,
int k,
int l,
boolean flag,
boolean flag1)
|
void |
dispose()
|
void |
drawArc(int i,
int j,
int k,
int l,
int i1,
int j1)
|
void |
drawImage(ChartImage chartimage,
int i,
int j)
|
void |
drawImage(ChartImage chartimage,
int i,
int j,
int k,
int l,
int i1,
int j1,
int k1,
int l1)
|
void |
drawLine(int i,
int j,
int k,
int l)
|
void |
drawLineWithStyle(int x1,
int y1,
int x2,
int y2)
|
void |
drawPolygon(int[] ai,
int[] ai1,
int i)
|
void |
drawRect(int x1,
int y1,
int w,
int h)
|
boolean |
drawRotatedText(ChartFont descFont,
ChartColor descColor,
java.lang.String txt,
int i,
int j,
int k,
boolean flag)
|
void |
drawRoundedRect(int x1,
int y1,
int w,
int h)
|
protected void |
drawSimpleLine(int x1,
int y1,
int x2,
int y2)
|
void |
drawString(java.lang.String s1,
int i,
int j)
|
void |
fillArc(int i,
int j,
int k,
int l,
int i1,
int j1)
|
void |
fillPolygon(int[] ai,
int[] ai1,
int i)
|
void |
fillRect(int i,
int j,
int k,
int l)
|
void |
fillRoundRect(int x1,
int y1,
int w,
int h)
|
java.lang.Object |
getAlphaComposite()
|
ChartColor |
getColor()
|
ChartFont |
getFont()
|
int |
getFontHeight()
|
int |
getFontHeight(ChartFont font)
|
int |
getFontWidth(ChartFont font,
java.lang.String s)
|
int |
getFontWidth(java.lang.String s)
|
void |
paintRotatedImage(ChartImage chartimage,
int i,
int j,
int k,
int l)
|
void |
setAlpha(float f)
|
void |
setAlphaComposite(java.lang.Object obj)
|
void |
setColor(ChartColor chartcolor)
|
void |
setFont(ChartFont chartfont)
|
void |
setLineStyle(int style)
|
void |
setLineWidth(int w)
|
void |
setTexture(ChartImage image)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STROKE_NORMAL
public static int STROKE_NORMAL
STROKE_DOTTED
public static int STROKE_DOTTED
STROKE_DASHED
public static int STROKE_DASHED
lineStyle
protected int lineStyle
lineWidth
protected int lineWidth
textureImage
protected ChartImage textureImage
ROTATE_CENTER
public static int ROTATE_CENTER
ROTATE_LEFTTOP
public static int ROTATE_LEFTTOP
ChartGraphics
public ChartGraphics()
setColor
public void setColor(ChartColor chartcolor)
setFont
public void setFont(ChartFont chartfont)
getColor
public ChartColor getColor()
getFont
public ChartFont getFont()
setTexture
public void setTexture(ChartImage image)
drawArc
public void drawArc(int i,
int j,
int k,
int l,
int i1,
int j1)
drawLine
public void drawLine(int i,
int j,
int k,
int l)
getFontHeight
public int getFontHeight()
getFontHeight
public int getFontHeight(ChartFont font)
getFontWidth
public int getFontWidth(ChartFont font,
java.lang.String s)
getFontWidth
public int getFontWidth(java.lang.String s)
drawRotatedText
public boolean drawRotatedText(ChartFont descFont,
ChartColor descColor,
java.lang.String txt,
int i,
int j,
int k,
boolean flag)
drawString
public void drawString(java.lang.String s1,
int i,
int j)
drawImage
public void drawImage(ChartImage chartimage,
int i,
int j)
drawImage
public void drawImage(ChartImage chartimage,
int i,
int j,
int k,
int l,
int i1,
int j1,
int k1,
int l1)
fillPolygon
public void fillPolygon(int[] ai,
int[] ai1,
int i)
fillRect
public void fillRect(int i,
int j,
int k,
int l)
fillRoundRect
public void fillRoundRect(int x1,
int y1,
int w,
int h)
drawPolygon
public void drawPolygon(int[] ai,
int[] ai1,
int i)
drawRect
public void drawRect(int x1,
int y1,
int w,
int h)
drawRoundedRect
public void drawRoundedRect(int x1,
int y1,
int w,
int h)
createFadeArea
public void createFadeArea(ChartColor chartcolor,
ChartColor chartcolor1,
int i,
int j,
int k,
int l,
boolean flag,
boolean flag1)
fillArc
public void fillArc(int i,
int j,
int k,
int l,
int i1,
int j1)
setAlpha
public void setAlpha(float f)
setAlphaComposite
public void setAlphaComposite(java.lang.Object obj)
getAlphaComposite
public java.lang.Object getAlphaComposite()
setLineStyle
public void setLineStyle(int style)
setLineWidth
public void setLineWidth(int w)
dispose
public void dispose()
paintRotatedImage
public void paintRotatedImage(ChartImage chartimage,
int i,
int j,
int k,
int l)
drawSimpleLine
protected void drawSimpleLine(int x1,
int y1,
int x2,
int y2)
drawLineWithStyle
public void drawLineWithStyle(int x1,
int y1,
int x2,
int y2)