Documentation of 'org.jzy3d.plot3d.text.renderers.TextBitmapRenderer' Java class
TextBitmapRenderer
org.jzy3d.plot3d.text.renderers

Class TextBitmapRenderer

    • Constructor Detail

      • TextBitmapRenderer

        public TextBitmapRenderer(int font1,
                                  int font2)
        The TextBitmap class provides support for drawing ASCII characters Any non ascii character will be replaced by a square.
      • TextBitmapRenderer

        public TextBitmapRenderer()
    • Method Detail

      • setFontAxisTicks

        public void setFontAxisTicks(int font)
      • setFontAxisLabels

        public void setFontAxisLabels(int font)
      • getFontAxisTicks

        public int getFontAxisTicks()
      • getFontAxisLabels

        public int getFontAxisLabels()
      • drawSimpleText

        public void drawSimpleText(com.jogamp.opengl.GL gl,
                                   com.jogamp.opengl.glu.GLU glu,
                                   Camera cam,
                                   java.lang.String s,
                                   Coord3d position,
                                   Color color,
                                   int type)
        Specified by:
        drawSimpleText in interface ITextRenderer
      • drawText

        public BoundingBox3d drawText(com.jogamp.opengl.GL gl,
                                      com.jogamp.opengl.glu.GLU glu,
                                      Camera cam,
                                      java.lang.String text,
                                      Coord3d position,
                                      Halign halign,
                                      Valign valign,
                                      Color color,
                                      Coord2d screenOffset,
                                      Coord3d sceneOffset,
                                      int type)
        Draw a string at the specified position and compute the 3d volume occupied by the string according to the current Camera configuration.
        Specified by:
        drawText in interface ITextRenderer
      • glRasterPos

        public void glRasterPos(com.jogamp.opengl.GL gl,
                                Coord3d sceneOffset,
                                Coord3d posReal)
      • computeTextBounds

        public BoundingBox3d computeTextBounds(com.jogamp.opengl.GL gl,
                                               com.jogamp.opengl.glu.GLU glu,
                                               Camera cam,
                                               Coord3d posScreenShifted,
                                               float strlen)
      • color

        public void color(com.jogamp.opengl.GL gl,
                          Color color)
      • computeYWithAlign

        public float computeYWithAlign(Valign valign,
                                       Coord3d posScreen,
                                       float y)
      • computeXWithAlign

        public float computeXWithAlign(Halign halign,
                                       Coord3d posScreen,
                                       float strlen,
                                       float x)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.