|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.control.TextDisplayControl.PolyGlyph
public static class TextDisplayControl.PolyGlyph
Class PolyGlyph
| Constructor Summary | |
|---|---|
TextDisplayControl.PolyGlyph()
Default Constructor |
|
TextDisplayControl.PolyGlyph(float width,
Color color)
Create a new PolyGlyph of the given width and color. |
|
| Method Summary | |
|---|---|
void |
addPoint(int x,
int y)
Add a point |
Color |
getColor()
Get the Color property. |
int |
getNPoints()
Get the NPoints property. |
float |
getWidth()
Get the Width property. |
int[] |
getXPoints()
Get the XPoints property. |
int[] |
getYPoints()
Get the YPoints property. |
void |
paint(Graphics g)
Paint this glyph |
void |
setColor(Color value)
Set the Color property. |
void |
setNPoints(int value)
Set the NPoints property. |
void |
setWidth(float value)
Set the Width property. |
void |
setXPoints(int[] value)
Set the X points property. |
void |
setYPoints(int[] value)
Set the YPoints property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextDisplayControl.PolyGlyph()
public TextDisplayControl.PolyGlyph(float width,
Color color)
width - width of glyphcolor - color of glyph| Method Detail |
|---|
public void paint(Graphics g)
g - graphics to paint on
public void addPoint(int x,
int y)
x - x positiony - y positionpublic void setColor(Color value)
value - The new value for Colorpublic Color getColor()
public void setWidth(float value)
value - The new value for Widthpublic float getWidth()
public void setXPoints(int[] value)
value - set of x valuespublic int[] getXPoints()
public void setYPoints(int[] value)
value - The new value for YPointspublic int[] getYPoints()
public void setNPoints(int value)
value - The new value for NPointspublic int getNPoints()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||