Class OpenHtmlGvtGlyphVector

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

    public class OpenHtmlGvtGlyphVector
    extends java.lang.Object
    implements org.apache.batik.gvt.font.GVTGlyphVector
    • Field Detail

      • vec

        private final java.awt.font.GlyphVector vec
      • font

        private final org.apache.batik.gvt.font.GVTFont font
      • frc

        private final java.awt.font.FontRenderContext frc
    • Constructor Detail

      • OpenHtmlGvtGlyphVector

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

      • draw

        public void draw​(java.awt.Graphics2D g2d,
                         java.text.AttributedCharacterIterator arg1)
        Specified by:
        draw in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getBounds2D

        public java.awt.geom.Rectangle2D getBounds2D​(java.text.AttributedCharacterIterator arg0)
        Specified by:
        getBounds2D in interface org.apache.batik.gvt.font.GVTGlyphVector
      • 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 java.awt.font.FontRenderContext getFontRenderContext()
        Specified by:
        getFontRenderContext in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGeometricBounds

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

        public java.awt.geom.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 java.awt.font.GlyphJustificationInfo getGlyphJustificationInfo​(int idx)
        Specified by:
        getGlyphJustificationInfo in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphLogicalBounds

        public java.awt.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 java.awt.Shape getGlyphOutline​(int arg0)
        Specified by:
        getGlyphOutline in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphPosition

        public java.awt.geom.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 java.awt.geom.AffineTransform getGlyphTransform​(int arg0)
        Specified by:
        getGlyphTransform in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getGlyphVisualBounds

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

        public java.awt.geom.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 java.awt.Shape getOutline()
        Specified by:
        getOutline in interface org.apache.batik.gvt.font.GVTGlyphVector
      • getOutline

        public java.awt.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,
                                     java.awt.geom.Point2D arg1)
        Specified by:
        setGlyphPosition in interface org.apache.batik.gvt.font.GVTGlyphVector
      • setGlyphTransform

        public void setGlyphTransform​(int arg0,
                                      java.awt.geom.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