|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infovis.utils.InfovisUtilities
public abstract class InfovisUtilities
Utility methods for drawing.
Field Summary | |
---|---|
static float[] |
DILATE_KERNEL
The kernel of the dilatation convolution. |
static BufferedImageOp |
DILATE_OP
The convoluton ImageOp. |
static Color |
TRANSPARENT
The transparent Color. |
static int[] |
TRANSPARENT_AND_WHITE
The Color components of the IndexColorModel. |
static Color |
WHITE
The WHITE outline component. |
Constructor Summary | |
---|---|
InfovisUtilities()
|
Method Summary | |
---|---|
static void |
drawString(Graphics2D graphics,
String str,
Rectangle2D bounds,
float hjustif,
float vjustif,
boolean outlined)
|
static void |
drawString(Graphics2D graphics,
String str,
Rectangle2D labelBounds,
Rectangle2D bounds,
float hjustif,
float vjustif,
boolean outlined)
|
static void |
drawStringVertical(Graphics2D graphics,
String str,
Rectangle2D bounds,
float hjustif,
float vjustif,
boolean outlined)
|
static void |
drawStringVertical(Graphics2D graphics,
String str,
Rectangle2D labelBounds,
Rectangle2D bounds,
float hjustif,
float vjustif,
boolean outlined)
|
static BufferedImage |
outlineString(String s,
Font font,
Rectangle rect)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final float[] DILATE_KERNEL
public static final BufferedImageOp DILATE_OP
public static final int[] TRANSPARENT_AND_WHITE
public static final Color TRANSPARENT
public static final Color WHITE
Constructor Detail |
---|
public InfovisUtilities()
Method Detail |
---|
public static void drawString(Graphics2D graphics, String str, Rectangle2D labelBounds, Rectangle2D bounds, float hjustif, float vjustif, boolean outlined)
public static void drawString(Graphics2D graphics, String str, Rectangle2D bounds, float hjustif, float vjustif, boolean outlined)
public static void drawStringVertical(Graphics2D graphics, String str, Rectangle2D labelBounds, Rectangle2D bounds, float hjustif, float vjustif, boolean outlined)
public static void drawStringVertical(Graphics2D graphics, String str, Rectangle2D bounds, float hjustif, float vjustif, boolean outlined)
public static BufferedImage outlineString(String s, Font font, Rectangle rect)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |