Class OpenHtmlGvtGlyphVector

  • All Implemented Interfaces:
    org.apache.batik.gvt.font.GVTGlyphVector

    public class OpenHtmlGvtGlyphVector
    extends Object
    implements org.apache.batik.gvt.font.GVTGlyphVector
    • Constructor Detail

      • OpenHtmlGvtGlyphVector

        public OpenHtmlGvtGlyphVector​(GlyphVector vec,
                                      org.apache.batik.gvt.font.GVTFont font,
                                      FontRenderContext frc)
    • Method Detail

      • getCharacterCount

        public int getCharacterCount​(int start,
                                     int end)
        Specified by:
        getCharacterCount in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getFont

        public org.apache.batik.gvt.font.GVTFont getFont()
        Specified by:
        getFont in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getFontRenderContext

        public FontRenderContext getFontRenderContext()
        Specified by:
        getFontRenderContext in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGeometricBounds

        public Rectangle2D getGeometricBounds()
        Specified by:
        getGeometricBounds in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphCellBounds

        public Rectangle2D getGlyphCellBounds​(int arg0)
        Specified by:
        getGlyphCellBounds in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphCode

        public int getGlyphCode​(int idx)
        Specified by:
        getGlyphCode in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphCodes

        public int[] getGlyphCodes​(int arg0,
                                   int arg1,
                                   int[] arg2)
        Specified by:
        getGlyphCodes in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphJustificationInfo

        public GlyphJustificationInfo getGlyphJustificationInfo​(int idx)
        Specified by:
        getGlyphJustificationInfo in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphLogicalBounds

        public Shape getGlyphLogicalBounds​(int arg0)
        Specified by:
        getGlyphLogicalBounds in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphMetrics

        public org.apache.batik.gvt.font.GVTGlyphMetrics getGlyphMetrics​(int arg0)
        Specified by:
        getGlyphMetrics in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphOutline

        public Shape getGlyphOutline​(int arg0)
        Specified by:
        getGlyphOutline in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphPosition

        public Point2D getGlyphPosition​(int arg0)
        Specified by:
        getGlyphPosition in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphPositions

        public float[] getGlyphPositions​(int arg0,
                                         int arg1,
                                         float[] arg2)
        Specified by:
        getGlyphPositions in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphTransform

        public AffineTransform getGlyphTransform​(int arg0)
        Specified by:
        getGlyphTransform in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphVisualBounds

        public Shape getGlyphVisualBounds​(int arg0)
        Specified by:
        getGlyphVisualBounds in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getLogicalBounds

        public Rectangle2D getLogicalBounds()
        Specified by:
        getLogicalBounds in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getNumGlyphs

        public int getNumGlyphs()
        Specified by:
        getNumGlyphs in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getOutline

        public Shape getOutline()
        Specified by:
        getOutline in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getOutline

        public Shape getOutline​(float arg0,
                                float arg1)
        Specified by:
        getOutline in interface org.apache.batik.gvt.font.GVTGlyphVector
      • isGlyphVisible

        public boolean isGlyphVisible​(int arg0)
        Specified by:
        isGlyphVisible in interface org.apache.batik.gvt.font.GVTGlyphVector
      • isReversed

        public boolean isReversed()
        Specified by:
        isReversed in interface org.apache.batik.gvt.font.GVTGlyphVector
      • maybeReverse

        public void maybeReverse​(boolean arg0)
        Specified by:
        maybeReverse in interface org.apache.batik.gvt.font.GVTGlyphVector
      • performDefaultLayout

        public void performDefaultLayout()
        Specified by:
        performDefaultLayout in interface org.apache.batik.gvt.font.GVTGlyphVector
      • setGlyphPosition

        public void setGlyphPosition​(int arg0,
                                     Point2D arg1)
        Specified by:
        setGlyphPosition in interface org.apache.batik.gvt.font.GVTGlyphVector
      • setGlyphTransform

        public void setGlyphTransform​(int arg0,
                                      AffineTransform arg1)
        Specified by:
        setGlyphTransform in interface org.apache.batik.gvt.font.GVTGlyphVector
      • setGlyphVisible

        public void setGlyphVisible​(int arg0,
                                    boolean arg1)
        Specified by:
        setGlyphVisible in interface org.apache.batik.gvt.font.GVTGlyphVector