Class ShadowedTextStyle
java.lang.Object
org.jzy3d.plot3d.text.renderers.jogl.style.ShadowedTextStyle
- All Implemented Interfaces:
com.jogamp.opengl.util.awt.TextRenderer.RenderDelegate
public class ShadowedTextStyle
extends Object
implements com.jogamp.opengl.util.awt.TextRenderer.RenderDelegate
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionShadowedTextStyle
(float gradientSize, int dropShadowDepth, Color color1, Color color2) -
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(Graphics2D graphics, String str, int x, int y) void
drawGlyphVector
(Graphics2D graphics, GlyphVector str, int x, int y) getBounds
(GlyphVector gv, FontRenderContext frc) getBounds
(CharSequence str, Font font, FontRenderContext frc) getBounds
(String str, Font font, FontRenderContext frc) boolean
-
Field Details
-
DROP_SHADOW_COLOR
-
-
Constructor Details
-
ShadowedTextStyle
-
-
Method Details
-
intensityOnly
public boolean intensityOnly()- Specified by:
intensityOnly
in interfacecom.jogamp.opengl.util.awt.TextRenderer.RenderDelegate
-
getBounds
- Specified by:
getBounds
in interfacecom.jogamp.opengl.util.awt.TextRenderer.RenderDelegate
-
getBounds
- Specified by:
getBounds
in interfacecom.jogamp.opengl.util.awt.TextRenderer.RenderDelegate
-
getBounds
- Specified by:
getBounds
in interfacecom.jogamp.opengl.util.awt.TextRenderer.RenderDelegate
-
drawGlyphVector
- Specified by:
drawGlyphVector
in interfacecom.jogamp.opengl.util.awt.TextRenderer.RenderDelegate
-
draw
- Specified by:
draw
in interfacecom.jogamp.opengl.util.awt.TextRenderer.RenderDelegate
-