Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.font |
Provides classes and interface relating to fonts.
|
Modifier and Type | Method and Description |
---|---|
GlyphVector |
Font.createGlyphVector(FontRenderContext frc,
char[] chars)
Creates a
GlyphVector by
mapping characters to glyphs one-to-one based on the
Unicode cmap in this Font . |
GlyphVector |
Font.createGlyphVector(FontRenderContext frc,
CharacterIterator ci)
Creates a
GlyphVector by
mapping the specified characters to glyphs one-to-one based on the
Unicode cmap in this Font . |
GlyphVector |
Font.createGlyphVector(FontRenderContext frc,
int[] glyphCodes)
Creates a
GlyphVector by
mapping characters to glyphs one-to-one based on the
Unicode cmap in this Font . |
GlyphVector |
Font.createGlyphVector(FontRenderContext frc,
String str)
Creates a
GlyphVector by
mapping characters to glyphs one-to-one based on the
Unicode cmap in this Font . |
GlyphVector |
Font.layoutGlyphVector(FontRenderContext frc,
char[] text,
int start,
int limit,
int flags)
Returns a new
GlyphVector object, performing full
layout of the text if possible. |
Modifier and Type | Method and Description |
---|---|
abstract void |
Graphics2D.drawGlyphVector(GlyphVector g,
float x,
float y)
Renders the text of the specified
GlyphVector using
the Graphics2D context's rendering attributes. |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
GlyphVector.equals(GlyphVector set)
Tests if the specified
GlyphVector exactly
equals this GlyphVector . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.