public final class G2DShortCuts
extends java.lang.Object
Graphics2D calls.| Modifier and Type | Method and Description |
|---|---|
static void |
useColor(java.awt.Graphics2D g2d,
Color c)
Use the given color for drawing.
|
static void |
useLineAppearance(java.awt.Graphics2D g2d,
Appearance appearance)
Use the given appearance for drawing lines.
|
public static void useColor(java.awt.Graphics2D g2d,
Color c)
g2d - the Graphics2D where the color will be used.c - the given color.public static void useLineAppearance(java.awt.Graphics2D g2d,
Appearance appearance)
g2d - the Graphics2D where the appearance will be used.appearance - the given appearance.