public class FOPGVTGlyphVector extends Object implements org.apache.batik.gvt.font.GVTGlyphVector
| Modifier and Type | Field and Description |
|---|---|
protected List |
associations |
protected Rectangle2D[] |
boundingBoxes |
protected FOPGVTFont |
font |
protected int[] |
glyphs |
protected AffineTransform[] |
glyphTransforms |
protected boolean[] |
glyphVisibilities |
protected int[][] |
gposAdjustments |
protected Rectangle2D |
logicalBounds |
protected GeneralPath |
outline |
protected float[] |
positions |
protected TextFragment |
text |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D graphics2d,
AttributedCharacterIterator aci) |
Rectangle2D |
getBounds2D(AttributedCharacterIterator aci) |
int |
getCharacterCount(int startGlyphIndex,
int endGlyphIndex) |
org.apache.batik.gvt.font.GVTFont |
getFont() |
FontRenderContext |
getFontRenderContext() |
Rectangle2D |
getGeometricBounds() |
Rectangle2D |
getGlyphCellBounds(int glyphIndex) |
int |
getGlyphCode(int glyphIndex) |
int[] |
getGlyphCodes(int beginGlyphIndex,
int numEntries,
int[] codeReturn) |
GlyphJustificationInfo |
getGlyphJustificationInfo(int glyphIndex) |
Shape |
getGlyphLogicalBounds(int glyphIndex) |
org.apache.batik.gvt.font.GVTGlyphMetrics |
getGlyphMetrics(int glyphIndex) |
Shape |
getGlyphOutline(int glyphIndex) |
Point2D |
getGlyphPosition(int glyphIndex) |
int[][] |
getGlyphPositionAdjustments() |
float[] |
getGlyphPositions(int beginGlyphIndex,
int numEntries,
float[] positionReturn) |
AffineTransform |
getGlyphTransform(int glyphIndex) |
Shape |
getGlyphVisualBounds(int glyphIndex) |
Rectangle2D |
getLogicalBounds() |
int |
getNumGlyphs() |
Shape |
getOutline() |
Shape |
getOutline(float x,
float y) |
boolean |
isGlyphVisible(int glyphIndex) |
boolean |
isReversed() |
void |
maybeReverse(boolean mirror) |
void |
performDefaultLayout() |
void |
setGlyphCode(int glyphIndex,
int glyphCode) |
void |
setGlyphPosition(int glyphIndex,
Point2D newPos) |
void |
setGlyphTransform(int glyphIndex,
AffineTransform newTX) |
void |
setGlyphVisible(int glyphIndex,
boolean visible) |
protected final TextFragment text
protected final FOPGVTFont font
protected int[] glyphs
protected List associations
protected int[][] gposAdjustments
protected float[] positions
protected Rectangle2D[] boundingBoxes
protected GeneralPath outline
protected AffineTransform[] glyphTransforms
protected boolean[] glyphVisibilities
protected Rectangle2D logicalBounds
public void performDefaultLayout()
performDefaultLayout in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic org.apache.batik.gvt.font.GVTFont getFont()
getFont in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic FontRenderContext getFontRenderContext()
getFontRenderContext in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic void setGlyphCode(int glyphIndex,
int glyphCode)
public int getGlyphCode(int glyphIndex)
getGlyphCode in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic int[] getGlyphCodes(int beginGlyphIndex,
int numEntries,
int[] codeReturn)
getGlyphCodes in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic GlyphJustificationInfo getGlyphJustificationInfo(int glyphIndex)
getGlyphJustificationInfo in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic Shape getGlyphLogicalBounds(int glyphIndex)
getGlyphLogicalBounds in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic org.apache.batik.gvt.font.GVTGlyphMetrics getGlyphMetrics(int glyphIndex)
getGlyphMetrics in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic Shape getGlyphOutline(int glyphIndex)
getGlyphOutline in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic Rectangle2D getGlyphCellBounds(int glyphIndex)
getGlyphCellBounds in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic int[][] getGlyphPositionAdjustments()
public Point2D getGlyphPosition(int glyphIndex)
getGlyphPosition in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic float[] getGlyphPositions(int beginGlyphIndex,
int numEntries,
float[] positionReturn)
getGlyphPositions in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic AffineTransform getGlyphTransform(int glyphIndex)
getGlyphTransform in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic Shape getGlyphVisualBounds(int glyphIndex)
getGlyphVisualBounds in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic Rectangle2D getLogicalBounds()
getLogicalBounds in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic int getNumGlyphs()
getNumGlyphs in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic Shape getOutline()
getOutline in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic Shape getOutline(float x, float y)
getOutline in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic Rectangle2D getGeometricBounds()
getGeometricBounds in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic Rectangle2D getBounds2D(AttributedCharacterIterator aci)
getBounds2D in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic void setGlyphPosition(int glyphIndex,
Point2D newPos)
setGlyphPosition in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic void setGlyphTransform(int glyphIndex,
AffineTransform newTX)
setGlyphTransform in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic void setGlyphVisible(int glyphIndex,
boolean visible)
setGlyphVisible in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic boolean isGlyphVisible(int glyphIndex)
isGlyphVisible in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic int getCharacterCount(int startGlyphIndex,
int endGlyphIndex)
getCharacterCount in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic boolean isReversed()
isReversed in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic void maybeReverse(boolean mirror)
maybeReverse in interface org.apache.batik.gvt.font.GVTGlyphVectorpublic void draw(Graphics2D graphics2d, AttributedCharacterIterator aci)
draw in interface org.apache.batik.gvt.font.GVTGlyphVectorCopyright © 2023 Apache Software Foundation. All rights reserved.