- Method in class java.awt.font.GlyphVector public abstract Point2DgetGlyphPosition (int glyphIndex) Returns the position of the specified glyph within this GlyphVector. This position corresponds to the leading edge of the baseline for the glyph. If glyphIndex equals the number of of glyphs in this GlyphVector, this method gets the position after the last glyph and this position is used to define the advance of the entire GlyphVector.Parameters: glyphIndex - the index into this GlyphVectorReturns: a Point2D object that is the position of the glyph at the specified glyphIndex.Throws:IndexOutOfBoundsException - if glyphIndex is less than 0 or greater than the number of glyphs in this GlyphVector