|
||||||||||
| 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.styles.Map.Polygon
public final class Map.Polygon
| Field Summary | |
|---|---|
Map |
parentSeries
|
| Fields inherited from class com.steema.teechart.TeeBase |
|---|
chart |
| Constructor Summary | |
|---|---|
Map.Polygon(IBaseChart chart)
|
|
Map.Polygon(Map.PolygonList collection,
IBaseChart chart)
|
|
| Method Summary | |
|---|---|
int |
add(double x,
double y)
Adds a boundary coordinate to the polygon. |
int |
add(Point p)
Adds a boundary coordinate to the polygon. |
void |
draw(IGraphics3D g,
int valueIndex)
|
Rectangle |
getBounds()
Returns the rectangle in pixels that corresponds to the maximum space used by the polygon. |
ChartBrush |
getBrush()
Determines the kind of brush used to fill the polygon interior. |
boolean |
getClosed()
When true, the polygon is displayed and filled using the polygon Pen and Brush methods. |
Color |
getColor(int index)
The Color used to fill the polygon. |
Gradient |
getGradient()
Determines the kind of polygon's interior gradient effect. |
int |
getIndex()
|
boolean |
getParentBrush()
The polygon uses the same Brush as its parentseries (Map Series) when true. |
boolean |
getParentPen()
The polygon uses the same Pen as its Parentseries, when true. |
ChartPen |
getPen()
Specifies the Pen used to draw the border of the polygon. |
Map.PolygonSeries |
getPoints()
Accesses the co-ordinates PointList which determine the boundary of the polygon. |
Point[] |
getPolygonPoints()
The coordinates of all Points of the Polygon. |
java.lang.String |
getText()
Specifies the text string that labels the polygon |
int |
getTransparency()
Amount of opacity used to fill the polygon interior. |
double |
getZ()
Specifies the position on the Z-axis of the 3D Map Series. |
void |
setClosed(boolean value)
When true, the polygon is displayed and filled using the polygon Pen and Brush methods. |
void |
setColor(Color value)
Sets Color used to fill the polygon. |
void |
setIndex(int value)
|
void |
setParentBrush(boolean value)
The polygon uses the same Brush as its parentseries (Map Series) when true. |
void |
setParentPen(boolean value)
The polygon uses the same Pen as its Parentseries, when true. |
void |
setPoints(Map.PolygonSeries value)
Accesses the co-ordinates PointList which determine the boundary of the polygon. |
void |
setText(java.lang.String value)
Specifies the text string that labels the polygon |
void |
setTransparency(int value)
Amount of opacity used to fill the polygon interior. |
void |
setZ(double value)
Specifies the position on the Z-axis of the 3D Map Series. |
boolean |
visible()
Returns true if the polygon fits inside the available Chart ChartRect rectangle. |
| 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 |
|---|
public Map parentSeries
| Constructor Detail |
|---|
public Map.Polygon(IBaseChart chart)
public Map.Polygon(Map.PolygonList collection,
IBaseChart chart)
| Method Detail |
|---|
public int getIndex()
public void setIndex(int value)
public boolean visible()
public void draw(IGraphics3D g,
int valueIndex)
public Rectangle getBounds()
public Map.PolygonSeries getPoints()
public void setPoints(Map.PolygonSeries value)
value - PolygonSeriespublic Point[] getPolygonPoints()
public ChartBrush getBrush()
public boolean getClosed()
public void setClosed(boolean value)
value - booleanpublic boolean getParentPen()
public void setParentPen(boolean value)
value - booleanpublic Color getColor(int index)
index - int
public void setColor(Color value)
value - Colorpublic Gradient getGradient()
public boolean getParentBrush()
public void setParentBrush(boolean value)
value - booleanpublic double getZ()
public void setZ(double value)
value - doublepublic int add(Point p)
p - Point
public int add(double x,
double y)
x - doubley - double
public java.lang.String getText()
public void setText(java.lang.String value)
value - Stringpublic ChartPen getPen()
public int getTransparency()
public void setTransparency(int value)
value - int
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||