Class 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 Detail

      • DROP_SHADOW_COLOR

        protected static final Color DROP_SHADOW_COLOR
    • Constructor Detail

      • ShadowedTextStyle

        public ShadowedTextStyle​(float gradientSize,
                                 int dropShadowDepth,
                                 Color color1,
                                 Color color2)
    • Method Detail

      • intensityOnly

        public boolean intensityOnly()
        Specified by:
        intensityOnly in interface com.jogamp.opengl.util.awt.TextRenderer.RenderDelegate
      • drawGlyphVector

        public void drawGlyphVector​(Graphics2D graphics,
                                    GlyphVector str,
                                    int x,
                                    int y)
        Specified by:
        drawGlyphVector in interface com.jogamp.opengl.util.awt.TextRenderer.RenderDelegate
      • draw

        public void draw​(Graphics2D graphics,
                         String str,
                         int x,
                         int y)
        Specified by:
        draw in interface com.jogamp.opengl.util.awt.TextRenderer.RenderDelegate