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) |
List |
getAssociations() |
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.GVTGlyphVector
public org.apache.batik.gvt.font.GVTFont getFont()
getFont
in interface org.apache.batik.gvt.font.GVTGlyphVector
public FontRenderContext getFontRenderContext()
getFontRenderContext
in interface org.apache.batik.gvt.font.GVTGlyphVector
public void setGlyphCode(int glyphIndex, int glyphCode)
public int getGlyphCode(int glyphIndex)
getGlyphCode
in interface org.apache.batik.gvt.font.GVTGlyphVector
public int[] getGlyphCodes(int beginGlyphIndex, int numEntries, int[] codeReturn)
getGlyphCodes
in interface org.apache.batik.gvt.font.GVTGlyphVector
public GlyphJustificationInfo getGlyphJustificationInfo(int glyphIndex)
getGlyphJustificationInfo
in interface org.apache.batik.gvt.font.GVTGlyphVector
public Shape getGlyphLogicalBounds(int glyphIndex)
getGlyphLogicalBounds
in interface org.apache.batik.gvt.font.GVTGlyphVector
public org.apache.batik.gvt.font.GVTGlyphMetrics getGlyphMetrics(int glyphIndex)
getGlyphMetrics
in interface org.apache.batik.gvt.font.GVTGlyphVector
public Shape getGlyphOutline(int glyphIndex)
getGlyphOutline
in interface org.apache.batik.gvt.font.GVTGlyphVector
public Rectangle2D getGlyphCellBounds(int glyphIndex)
getGlyphCellBounds
in interface org.apache.batik.gvt.font.GVTGlyphVector
public int[][] getGlyphPositionAdjustments()
public List getAssociations()
public Point2D getGlyphPosition(int glyphIndex)
getGlyphPosition
in interface org.apache.batik.gvt.font.GVTGlyphVector
public float[] getGlyphPositions(int beginGlyphIndex, int numEntries, float[] positionReturn)
getGlyphPositions
in interface org.apache.batik.gvt.font.GVTGlyphVector
public AffineTransform getGlyphTransform(int glyphIndex)
getGlyphTransform
in interface org.apache.batik.gvt.font.GVTGlyphVector
public Shape getGlyphVisualBounds(int glyphIndex)
getGlyphVisualBounds
in interface org.apache.batik.gvt.font.GVTGlyphVector
public Rectangle2D getLogicalBounds()
getLogicalBounds
in interface org.apache.batik.gvt.font.GVTGlyphVector
public int getNumGlyphs()
getNumGlyphs
in interface org.apache.batik.gvt.font.GVTGlyphVector
public Shape getOutline()
getOutline
in interface org.apache.batik.gvt.font.GVTGlyphVector
public Shape getOutline(float x, float y)
getOutline
in interface org.apache.batik.gvt.font.GVTGlyphVector
public Rectangle2D getGeometricBounds()
getGeometricBounds
in interface org.apache.batik.gvt.font.GVTGlyphVector
public Rectangle2D getBounds2D(AttributedCharacterIterator aci)
getBounds2D
in interface org.apache.batik.gvt.font.GVTGlyphVector
public void setGlyphPosition(int glyphIndex, Point2D newPos)
setGlyphPosition
in interface org.apache.batik.gvt.font.GVTGlyphVector
public void setGlyphTransform(int glyphIndex, AffineTransform newTX)
setGlyphTransform
in interface org.apache.batik.gvt.font.GVTGlyphVector
public void setGlyphVisible(int glyphIndex, boolean visible)
setGlyphVisible
in interface org.apache.batik.gvt.font.GVTGlyphVector
public boolean isGlyphVisible(int glyphIndex)
isGlyphVisible
in interface org.apache.batik.gvt.font.GVTGlyphVector
public int getCharacterCount(int startGlyphIndex, int endGlyphIndex)
getCharacterCount
in interface org.apache.batik.gvt.font.GVTGlyphVector
public boolean isReversed()
isReversed
in interface org.apache.batik.gvt.font.GVTGlyphVector
public void maybeReverse(boolean mirror)
maybeReverse
in interface org.apache.batik.gvt.font.GVTGlyphVector
public void draw(Graphics2D graphics2d, AttributedCharacterIterator aci)
draw
in interface org.apache.batik.gvt.font.GVTGlyphVector
Copyright © 2025 Apache Software Foundation. All rights reserved.