|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.scilab.forge.scirenderer.implementation.jogl.utils.G2DShortCuts
public final class G2DShortCuts
Utility class for common Graphics2D
calls.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |