Class G2DShortCuts
- java.lang.Object
-
- org.scilab.forge.scirenderer.implementation.jogl.utils.G2DShortCuts
-
public final class G2DShortCuts extends java.lang.ObjectUtility class for commonGraphics2Dcalls.- Author:
- Pierre Lando
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiduseColor(java.awt.Graphics2D g2d, Color c)Use the given color for drawing.static voiduseLineAppearance(java.awt.Graphics2D g2d, Appearance appearance)Use the given appearance for drawing lines.
-
-
-
Method Detail
-
useColor
public static void useColor(java.awt.Graphics2D g2d, Color c)Use the given color for drawing.- Parameters:
g2d- theGraphics2Dwhere the color will be used.c- the given color.
-
useLineAppearance
public static void useLineAppearance(java.awt.Graphics2D g2d, Appearance appearance)Use the given appearance for drawing lines.- Parameters:
g2d- theGraphics2Dwhere the appearance will be used.appearance- the given appearance.
-
-