Example usage for Java java.awt.font GlyphVector fields, constructors, methods, implement or subclass
The text is from its open source code.
Font | getFont() Returns the Font associated with this GlyphVector . |
GlyphMetrics | getGlyphMetrics(int glyphIndex) Returns the metrics of the glyph at the specified index into this GlyphVector . |
Shape | getGlyphOutline(int glyphIndex) Returns a Shape whose interior corresponds to the visual representation of the specified glyph within this GlyphVector . |
Point2D | getGlyphPosition(int glyphIndex) Returns the position of the specified glyph relative to the origin of this GlyphVector . |
Rectangle2D | getLogicalBounds() Returns the logical bounds of this GlyphVector . |
int | getNumGlyphs() Returns the number of glyphs in this GlyphVector . |
Shape | getOutline(float x, float y) Returns a Shape whose interior corresponds to the visual representation of this GlyphVector when rendered at x, y. |
Shape | getOutline() Returns a Shape whose interior corresponds to the visual representation of this GlyphVector . |
Rectangle | getPixelBounds(FontRenderContext renderFRC, float x, float y) Returns the pixel bounds of this GlyphVector when rendered in a graphics with the given FontRenderContext at the given location. |
Rectangle2D | getVisualBounds() Returns the visual bounds of this GlyphVector The visual bounds is the bounding box of the outline of this GlyphVector . |
void | setGlyphPosition(int glyphIndex, Point2D newPos) Sets the position of the specified glyph within this GlyphVector . |