| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| public static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private int[] | |
| private AffineTransform | |
| public static final int | FLAG_USES_ALTERNATE_ORIENTATION
A flag used with getLayoutFlags that indicates whether this |
| public static final int | FLAG_USES_VERTICAL_BASELINE
A flag used with getLayoutFlags that indicates whether this |
| public static final int | FLAG_USES_VERTICAL_METRICS
A flag used with getLayoutFlags that indicates whether this |
| private int | |
| private Font | |
| private Font2D | |
| private FontRenderContext | |
| private AffineTransform | |
| private SoftReference | |
| private AffineTransform | |
| private int[] | |
| private StandardGlyphVector. | |
| private AffineTransform | |
| private SoftReference | |
| private float[] | |
| private static final int | |
| private int[] | |
| private SoftReference |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | StandardGlyphVector(Font font, FontRenderContext frc, int[] glyphs, float[] positions, int[] indices, int flags)
|
| public | |
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| pack-priv StringBuffer | |
| private void | |
| private void | |
| private void | |
| public Object | clone()
Overrides java. As a concrete subclass of GlyphVector, this must implement clone. |
| public StandardGlyphVector | |
| private static boolean | |
| public boolean | equals(GlyphVector rhs)
Implements abstract java. Tests if the specified |
| public boolean | equals(Object rhs)
Overrides java. Since we implement equality comparisons for GlyphVector, we implement the inherited Object.equals(Object) as well. |
| private StandardGlyphVector. | |
| public Font | getFont()
Implements abstract java. Returns the |
| public FontRenderContext | getFontRenderContext()
Implements abstract java. Returns the |
| public int | getGlyphCharIndex(int ix)
Overrides java. Returns the character index of the specified glyph. |
| public int[] | getGlyphCharIndices(int start, int count, int[] result)
Overrides java. Returns the character indices of the specified glyphs. |
| public int | getGlyphCode(int glyphIndex)
Implements abstract java. Returns the glyphcode of the specified glyph. |
| public int[] | getGlyphCodes(int start, int count, int[] result)
Implements abstract java. Returns an array of glyphcodes for the specified glyphs. |
| public float[] | |
| public GlyphJustificationInfo | getGlyphJustificationInfo(int ix)
Implements abstract java. Returns the justification information for the glyph at
the specified index into this |
| public Shape | getGlyphLogicalBounds(int ix)
Implements abstract java. Returns the logical bounds of the specified glyph within this
|
| public GlyphMetrics | getGlyphMetrics(int ix)
Implements abstract java. Returns the metrics of the glyph at the specified index into
this |
| public Shape | getGlyphOutline(int ix)
Implements abstract java. Returns a |
| public Shape | getGlyphOutline(int ix, float x, float y)
Overrides java. Returns a |
| private Rectangle2D | |
| public Rectangle | getGlyphPixelBounds(int index, FontRenderContext renderFRC, float x, float y)
Overrides java. Returns the pixel bounds of the glyph at index when this
|
| public Point2D | getGlyphPosition(int ix)
Implements abstract java. Returns the position of the specified glyph relative to the
origin of this |
| public float[] | getGlyphPositions(int start, int count, float[] result)
Implements abstract java. Returns an array of glyph positions for the specified glyphs. |
| public float[] | getGlyphPositions(float[] result)
This is a convenience overload that gets all the glyph positions, which is what you usually want to do if you're getting more than one. |
| private Shape | |
| private Rectangle | |
| private StandardGlyphVector. | |
| public AffineTransform | getGlyphTransform(int ix)
Implements abstract java. Returns the transform of the specified glyph within this
|
| public AffineTransform[] | getGlyphTransforms(int start, int count, AffineTransform[] result)
Get transform information for the requested range of glyphs. |
| public AffineTransform[] | |
| public Shape | getGlyphVisualBounds(int ix)
Implements abstract java. Returns the visual bounds of the specified glyph within the
|
| public int | getLayoutFlags()
Overrides java. Returns flags describing the global state of the GlyphVector. |
| public Rectangle2D | getLogicalBounds()
Implements abstract java. Returns the logical bounds of this |
| private static AffineTransform | |
| public int | getNumGlyphs()
Implements abstract java. Returns the number of glyphs in this |
| public Shape | getOutline()
Implements abstract java. Returns a |
| public Shape | getOutline(float x, float y)
Implements abstract java. Returns a |
| public Rectangle | getPixelBounds(FontRenderContext renderFRC, float x, float y)
Overrides java. Returns the pixel bounds of this |
| public static StandardGlyphVector | |
| private float | |
| pack-priv int[] | |
| public Rectangle2D | getVisualBounds()
Implements abstract java. Returns the visual bounds of this |
| public int | hashCode()
Overrides java. As a concrete subclass of Object that implements equality, this must implement hashCode. |
| private void | |
| private void | |
| public void | initGlyphVector(Font font, FontRenderContext frc, int[] glyphs, float[] positions, int[] indices, int flags)
|
| private void | |
| private float[] | Returns: the modified position arraythe index of the first glyph to get start, int the number of glyphs to get count, int the offset into result at which to put the data offset, float[] an array to hold the x,y positions result)Copy glyph position data into a result array starting at the indicated offset in the array. |
| private static boolean | |
| pack-priv boolean | |
| public void | performDefaultLayout()
Implements abstract java. Assigns default positions to each glyph in this
|
| private void | |
| private void | |
| private void | |
| public void | setGlyphPosition(int ix, Point2D pos)
Implements abstract java. Sets the position of the specified glyph within this
|
| public void | |
| public void | setGlyphPositions(float[] srcPositions)
Set all the glyph positions, including the 'after last glyph' position. |
| public void | setGlyphTransform(int ix, AffineTransform newTX)
Implements abstract java. Sets the transform of the specified glyph within this
|
| public void | setGlyphTransforms(AffineTransform[] srcTransforms, int srcStart, int start, int count)
Set a number of glyph transforms. |
| public void | setGlyphTransforms(AffineTransform[] srcTransforms)
Convenience overload of setGlyphTransforms(AffineTransform[], int, int, int). |
| private void | |
| pack-priv Object | |
| public String |