Class GlyphRunTextOutput

  • All Implemented Interfaces:
    TextOutput

    public abstract class GlyphRunTextOutput
    extends java.lang.Object
    implements TextOutput
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void beginText()  
      void codepoint​(@NotNull java.lang.String codepoint, @NotNull java.awt.geom.AffineTransform glyphTransform, @NotNull RenderContext context)  
      void endText()  
      protected abstract void glyphRun​(@NotNull java.lang.String codepoints, @NotNull java.awt.geom.AffineTransform glyphTransform, @NotNull RenderContext context)  
      void glyphRunBreak()
      Signals that the next glyph has manual placement and therefore is visually separated from the previous glyph.
      protected abstract void onTextEnd()  
      protected abstract void onTextStart()  
      private void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • codepoints

        private final java.lang.StringBuilder codepoints
      • glyphTransform

        @Nullable
        private @Nullable java.awt.geom.AffineTransform glyphTransform
    • Constructor Detail

      • GlyphRunTextOutput

        public GlyphRunTextOutput()
    • Method Detail

      • glyphRun

        protected abstract void glyphRun​(@NotNull
                                         @NotNull java.lang.String codepoints,
                                         @NotNull
                                         @NotNull java.awt.geom.AffineTransform glyphTransform,
                                         @NotNull
                                         @NotNull RenderContext context)
      • onTextStart

        protected abstract void onTextStart()
      • onTextEnd

        protected abstract void onTextEnd()
      • codepoint

        public void codepoint​(@NotNull
                              @NotNull java.lang.String codepoint,
                              @NotNull
                              @NotNull java.awt.geom.AffineTransform glyphTransform,
                              @NotNull
                              @NotNull RenderContext context)
        Specified by:
        codepoint in interface TextOutput
      • reset

        private void reset()
      • glyphRunBreak

        public void glyphRunBreak()
        Description copied from interface: TextOutput
        Signals that the next glyph has manual placement and therefore is visually separated from the previous glyph.
        Specified by:
        glyphRunBreak in interface TextOutput
      • endText

        public final void endText()
        Specified by:
        endText in interface TextOutput