| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FontRenderContext | |
|---|---|
| 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. | 
| Uses of FontRenderContext in java.awt | 
|---|
| Methods in java.awt that return FontRenderContext | |
|---|---|
| abstract  FontRenderContext | Graphics2D.getFontRenderContext()Get the rendering context of the Fontwithin thisGraphics2Dcontext. | 
| Methods in java.awt with parameters of type FontRenderContext | |
|---|---|
|  GlyphVector | Font.createGlyphVector(FontRenderContext frc,
                  char[] chars)Creates a GlyphVectorby
 mapping characters to glyphs one-to-one based on the
 Unicode cmap in thisFont. | 
|  GlyphVector | Font.createGlyphVector(FontRenderContext frc,
                  CharacterIterator ci)Creates a GlyphVectorby
 mapping the specified characters to glyphs one-to-one based on the
 Unicode cmap in thisFont. | 
|  GlyphVector | Font.createGlyphVector(FontRenderContext frc,
                  int[] glyphCodes)Creates a GlyphVectorby
 mapping characters to glyphs one-to-one based on the
 Unicode cmap in thisFont. | 
|  GlyphVector | Font.createGlyphVector(FontRenderContext frc,
                  String str)Creates a GlyphVectorby 
 mapping characters to glyphs one-to-one based on the 
 Unicode cmap in thisFont. | 
|  LineMetrics | Font.getLineMetrics(char[] chars,
               int beginIndex,
               int limit,
               FontRenderContext frc)Returns a LineMetricsobject created with the
 specified arguments. | 
|  LineMetrics | Font.getLineMetrics(CharacterIterator ci,
               int beginIndex,
               int limit,
               FontRenderContext frc)Returns a LineMetricsobject created with the
 specified arguments. | 
|  LineMetrics | Font.getLineMetrics(String str,
               FontRenderContext frc)Returns a LineMetricsobject created with the specifiedStringandFontRenderContext. | 
|  LineMetrics | Font.getLineMetrics(String str,
               int beginIndex,
               int limit,
               FontRenderContext frc)Returns a LineMetricsobject created with the
 specified arguments. | 
|  Rectangle2D | Font.getMaxCharBounds(FontRenderContext frc)Returns the bounds for the character with the maximum bounds as defined in the specified FontRenderContext. | 
|  Rectangle2D | Font.getStringBounds(char[] chars,
                int beginIndex,
                int limit,
                FontRenderContext frc)Returns the logical bounds of the specified array of characters in the specified FontRenderContext. | 
|  Rectangle2D | Font.getStringBounds(CharacterIterator ci,
                int beginIndex,
                int limit,
                FontRenderContext frc)Returns the logical bounds of the characters indexed in the specified CharacterIteratorin the
 specifiedFontRenderContext. | 
|  Rectangle2D | Font.getStringBounds(String str,
                FontRenderContext frc)Returns the logical bounds of the specified Stringin
 the specifiedFontRenderContext. | 
|  Rectangle2D | Font.getStringBounds(String str,
                int beginIndex,
                int limit,
                FontRenderContext frc)Returns the logical bounds of the specified Stringin
 the specifiedFontRenderContext. | 
|  GlyphVector | Font.layoutGlyphVector(FontRenderContext frc,
                  char[] text,
                  int start,
                  int limit,
                  int flags)Returns a new GlyphVectorobject, performing full
 layout of the text if possible. | 
| Uses of FontRenderContext in java.awt.font | 
|---|
| Methods in java.awt.font that return FontRenderContext | |
|---|---|
| abstract  FontRenderContext | GlyphVector.getFontRenderContext()Returns the FontRenderContextassociated with thisGlyphVector. | 
| Methods in java.awt.font with parameters of type FontRenderContext | |
|---|---|
|  boolean | FontRenderContext.equals(FontRenderContext rhs)Return true if rhs has the same transform, antialiasing, and fractional metrics values as this. | 
|  Rectangle | GlyphVector.getGlyphPixelBounds(int index,
                    FontRenderContext renderFRC,
                    float x,
                    float y)Returns the pixel bounds of the glyph at index when this GlyphVectoris rendered in aGraphicswith the
 givenFontRenderContextat the given location. | 
|  Rectangle | GlyphVector.getPixelBounds(FontRenderContext renderFRC,
               float x,
               float y)Returns the pixel bounds of this GlyphVectorwhen
 rendered in a graphics with the givenFontRenderContextat the given location. | 
| Constructors in java.awt.font with parameters of type FontRenderContext | |
|---|---|
| LineBreakMeasurer(AttributedCharacterIterator text,
                  BreakIterator breakIter,
                  FontRenderContext frc)Constructs a LineBreakMeasurerfor the specified text. | |
| LineBreakMeasurer(AttributedCharacterIterator text,
                  FontRenderContext frc)Constructs a LineBreakMeasurerfor the specified text. | |
| TextLayout(AttributedCharacterIterator text,
           FontRenderContext frc)Constructs a TextLayoutfrom an iterator over styled text. | |
| TextLayout(String string,
           Font font,
           FontRenderContext frc)Constructs a TextLayoutfrom aStringand aFont. | |
| TextLayout(String string,
           Map<? extends AttributedCharacterIterator.Attribute,?> attributes,
           FontRenderContext frc)Constructs a TextLayoutfrom aStringand an attribute set. | |
| TextMeasurer(AttributedCharacterIterator text,
             FontRenderContext frc)Constructs a TextMeasurerfrom the source text. | |
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.