Class G2DShortCuts
java.lang.Object
org.scilab.forge.scirenderer.implementation.jogl.utils.G2DShortCuts
Utility class for common
Graphics2D calls.- Author:
- Pierre Lando
-
Method Summary
Modifier and TypeMethodDescriptionstatic voiduseColor(Graphics2D g2d, Color c) Use the given color for drawing.static voiduseLineAppearance(Graphics2D g2d, Appearance appearance) Use the given appearance for drawing lines.
-
Method Details
-
useColor
Use the given color for drawing.- Parameters:
g2d- theGraphics2Dwhere the color will be used.c- the given color.
-
useLineAppearance
Use the given appearance for drawing lines.- Parameters:
g2d- theGraphics2Dwhere the appearance will be used.appearance- the given appearance.
-