|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.elegantj.graphx.DrawText
DrawText class is used to draw the text with specified graphics and text type within specified boundary
| Field Summary | |
static int |
BOTTOM
Specifies the constant for bottom alignment |
static int |
CALCRECT
Specifies the constant for multiline text |
static int |
CENTER
Specifies the constant for horizontally center alignment |
static int |
LEFT
Specifies the constant for left alignment |
static int |
RIGHT
Specifies the constant for right alignment |
static int |
SINGLELINE
Specifies the constant for wrapping text |
static int |
TOP
Specifies the constant for top alignment |
static int |
VCENTER
Specifies the constant for vertically center alignment |
static int |
WORDBREAK
Specifies the constant for word break wrapping |
| Constructor Summary | |
DrawText()
|
|
| Method Summary | |
static java.awt.Dimension |
drawText(java.awt.Graphics g,
java.lang.String text,
int x,
int y,
int width,
int height,
int type)
This method draws the text with specified graphics and text type within specified boundary |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int LEFT
public static final int CENTER
public static final int RIGHT
public static final int TOP
public static final int VCENTER
public static final int BOTTOM
public static final int CALCRECT
public static final int SINGLELINE
public static final int WORDBREAK
| Constructor Detail |
public DrawText()
| Method Detail |
public static java.awt.Dimension drawText(java.awt.Graphics g,
java.lang.String text,
int x,
int y,
int width,
int height,
int type)
|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||