Class TextRenderer


  • class TextRenderer
    extends Object
    • Constructor Detail

      • TextRenderer

        TextRenderer()
    • Method Detail

      • render

        static boolean render​(Text text,
                              JmolRendererInterface g3d,
                              float scalePixelsPerMicron,
                              float imageFontScaling,
                              boolean isAbsolute,
                              float[] boxXY,
                              float[] temp)
      • renderSimpleLabel

        static void renderSimpleLabel​(JmolRendererInterface g3d,
                                      Font font,
                                      String strLabel,
                                      short colix,
                                      short bgcolix,
                                      float[] boxXY,
                                      int z,
                                      int zSlab,
                                      int xOffset,
                                      int yOffset,
                                      float ascent,
                                      int descent,
                                      boolean doPointer,
                                      short pointerColix,
                                      boolean isAbsolute)
      • showBox

        private static void showBox​(JmolRendererInterface g3d,
                                    short colix,
                                    int x,
                                    int y,
                                    int z,
                                    int zSlab,
                                    int boxWidth,
                                    int boxHeight,
                                    float imageFontScaling,
                                    boolean atomBased)