com.linksoft.chart
Class FillStyle

java.lang.Object
  extended bycom.linksoft.chart.FillStyle

public class FillStyle
extends java.lang.Object

Copyright (c) 2002-2005 LinkSoft Systems, Inc. All Rights Reserved


Field Summary
 float alphaValue
           
 ChartColor colorFrom
           
 ChartColor colorUntil
           
 java.lang.Object fillPatern
           
static int GRADIENT_HORIZONTAL
           
static int GRADIENT_VERTICAL
           
 boolean gradientCyclic
           
 int gradientType
           
static int NO_GRADIENT
           
 ChartImage textureImage
           
 
Constructor Summary
FillStyle(ChartColor c)
           
FillStyle(ChartColor c, float f)
           
FillStyle(ChartImage i)
           
 
Method Summary
static FillStyle createFromString(java.lang.String f)
           
protected  void draw(ChartGraphics g, int x1, int y1, int x2, int y2)
           
protected  void drawArc(ChartGraphics g, int x, int y, int w, int h, int a1, int a2)
           
protected  void drawPolygon(ChartGraphics g, int[] x1, int[] y1, int num)
           
 void drawRoundRect(ChartGraphics g, int x1, int y1, int x2, int y2)
           
 ChartColor getColor()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_GRADIENT

public static int NO_GRADIENT

GRADIENT_HORIZONTAL

public static int GRADIENT_HORIZONTAL

GRADIENT_VERTICAL

public static int GRADIENT_VERTICAL

fillPatern

public java.lang.Object fillPatern

alphaValue

public float alphaValue

colorFrom

public ChartColor colorFrom

colorUntil

public ChartColor colorUntil

gradientType

public int gradientType

gradientCyclic

public boolean gradientCyclic

textureImage

public ChartImage textureImage
Constructor Detail

FillStyle

public FillStyle(ChartColor c)

FillStyle

public FillStyle(ChartImage i)

FillStyle

public FillStyle(ChartColor c,
                 float f)
Method Detail

toString

public java.lang.String toString()

createFromString

public static FillStyle createFromString(java.lang.String f)

getColor

public ChartColor getColor()

drawArc

protected void drawArc(ChartGraphics g,
                       int x,
                       int y,
                       int w,
                       int h,
                       int a1,
                       int a2)

drawPolygon

protected void drawPolygon(ChartGraphics g,
                           int[] x1,
                           int[] y1,
                           int num)

draw

protected void draw(ChartGraphics g,
                    int x1,
                    int y1,
                    int x2,
                    int y2)

drawRoundRect

public void drawRoundRect(ChartGraphics g,
                          int x1,
                          int y1,
                          int x2,
                          int y2)