|
||||||||||
| 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.Gradient
public class Gradient
Title: Gradient class
Description: Used to configure a gradient filling.
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
| Field Summary | |
|---|---|
protected boolean |
visible
|
| Fields inherited from class com.steema.teechart.TeeBase |
|---|
chart |
| Constructor Summary | |
|---|---|
Gradient()
|
|
Gradient(IBaseChart c)
|
|
| Method Summary | |
|---|---|
void |
assign(Gradient value)
Copies the Gradient parameter properties into the Canvas.Gradient object. |
Color |
correctColor(Color value)
|
void |
draw(IGraphics3D g,
int left,
int top,
int right,
int bottom)
Obsolete. |
void |
draw(IGraphics3D g,
Point[] p)
Obsolete. |
void |
draw(IGraphics3D g,
Rectangle rect)
Obsolete. |
double |
getAngle()
Enables fine-tuning of displayed Colors. |
Point[] |
getCustomTargetPolygon()
|
GradientDirection |
getDirection()
The direction the gradient fill to be applied. |
Color |
getEndColor()
One of the three Colors used to create the gradient fill. |
Color |
getMiddleColor()
One of the three Colors used to create the gradient fill. |
int |
getRadialX()
|
int |
getRadialY()
|
Color |
getStartColor()
One of the three Colors used to create the gradient fill. |
int |
getTransparency()
Amount of transparency in percentage. |
boolean |
getUseMiddle()
Determines whether MiddleColor is used when creating the gradient fill, or not. |
boolean |
getVisible()
Determines whether the gradient fill appears on screen. |
void |
setAngle(double value)
Enables fine-tuning of displayed Colors. |
void |
setCustomTargetPolygon(Point[] value)
|
void |
setDirection(GradientDirection value)
Specifies the direction the gradient fill to be applied. |
void |
setEndColor(Color value)
Specifies the end Color used to create the gradient fill. |
void |
setMiddleColor(Color value)
Specifies the middle Color used to create the gradient fill. |
void |
setRadialX(int value)
|
void |
setRadialY(int value)
|
void |
setStartColor(Color value)
Specifies the start Color used to create the gradient fill. |
void |
setTransparency(int value)
Specifies the amount of transparency as a percentage. |
void |
setUseMiddle(boolean value)
A MiddleColor is used when creating the gradient fill when true. |
void |
setVisible(boolean value)
Determines whether the gradient fill appears on screen. |
| Methods inherited from class com.steema.teechart.TeeBase |
|---|
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean visible
| Constructor Detail |
|---|
public Gradient(IBaseChart c)
public Gradient()
| Method Detail |
|---|
public void assign(Gradient value)
value - Gradientpublic int getTransparency()
public void setTransparency(int value)
value - intpublic double getAngle()
public void setAngle(double value)
value - doublepublic GradientDirection getDirection()
public void setDirection(GradientDirection value)
value - GradientDirectionpublic Color getStartColor()
public void setStartColor(Color value)
value - Colorpublic boolean getUseMiddle()
public void setUseMiddle(boolean value)
value - booleanpublic Color getMiddleColor()
public void setMiddleColor(Color value)
value - Colorpublic Color getEndColor()
public void setEndColor(Color value)
value - Colorpublic boolean getVisible()
public void setVisible(boolean value)
value - booleanpublic int getRadialX()
public void setRadialX(int value)
value - intpublic int getRadialY()
public void setRadialY(int value)
value - intpublic Point[] getCustomTargetPolygon()
public void setCustomTargetPolygon(Point[] value)
public Color correctColor(Color value)
public void draw(IGraphics3D g,
int left,
int top,
int right,
int bottom)
g - IGraphics3Dleft - inttop - intright - intbottom - int
public void draw(IGraphics3D g,
Point[] p)
g - IGraphics3Dp - Point[]
public void draw(IGraphics3D g,
Rectangle rect)
g - IGraphics3Drect - Rectangle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||