站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.awt.font.FontRenderContext - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.awt.font.FontRenderContext

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 Font within this Graphics2D context.
 

Methods in java.awt with parameters of type FontRenderContext
 LineMetrics Font.getLineMetrics(String str, FontRenderContext frc)
          Returns a LineMetrics object created with the specified String and FontRenderContext.
 LineMetrics Font.getLineMetrics(String str, int beginIndex, int limit, FontRenderContext frc)
          Returns a LineMetrics object created with the specified arguments.
 LineMetrics Font.getLineMetrics(char[] chars, int beginIndex, int limit, FontRenderContext frc)
          Returns a LineMetrics object created with the specified arguments.
 LineMetrics Font.getLineMetrics(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc)
          Returns a LineMetrics object created with the specified arguments.
 Rectangle2D Font.getStringBounds(String str, FontRenderContext frc)
          Returns the bounds of the specified String in the specified FontRenderContext.
 Rectangle2D Font.getStringBounds(String str, int beginIndex, int limit, FontRenderContext frc)
          Returns the bounds of the specified String in the specified FontRenderContext.
 Rectangle2D Font.getStringBounds(char[] chars, int beginIndex, int limit, FontRenderContext frc)
          Returns the bounds of the specified array of characters in the specified FontRenderContext.
 Rectangle2D Font.getStringBounds(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc)
          Returns the bounds of the characters indexed in the specified CharacterIterator in the specified FontRenderContext.
 Rectangle2D Font.getMaxCharBounds(FontRenderContext frc)
          Returns the bounds for the character with the maximum bounds as defined in the specified FontRenderContext.
 GlyphVector Font.createGlyphVector(FontRenderContext frc, String str)
          Returns a new GlyphVector object created with the specified String and the specified FontRenderContext.
 GlyphVector Font.createGlyphVector(FontRenderContext frc, char[] chars)
          Returns a new GlyphVector object created with the specified array of characters and the specified FontRenderContext.
 GlyphVector Font.createGlyphVector(FontRenderContext frc, CharacterIterator ci)
          Returns a new GlyphVector object created with the specified CharacterIterator and the specified FontRenderContext.
 GlyphVector Font.createGlyphVector(FontRenderContext frc, int[] glyphCodes)
          Returns a new GlyphVector object created with the specified integer array and the specified FontRenderContext.
 

Uses of FontRenderContext in java.awt.font
 

Methods in java.awt.font that return FontRenderContext
abstract  FontRenderContext GlyphVector.getFontRenderContext()
          Returns the FontRenderContext associated with this GlyphVector.
 

Constructors in java.awt.font with parameters of type FontRenderContext
TextLayout.TextLayout(String string, Font font, FontRenderContext frc)
          Constructs a TextLayout from a String and a Font.
TextLayout.TextLayout(String string, Map attributes, FontRenderContext frc)
          Constructs a TextLayout from a String and an attribute set.
TextLayout.TextLayout(AttributedCharacterIterator text, FontRenderContext frc)
          Constructs a TextLayout from an iterator over styled text.
LineBreakMeasurer.LineBreakMeasurer(AttributedCharacterIterator text, FontRenderContext frc)
          Constructs a LineBreakMeasurer for the specified text.
LineBreakMeasurer.LineBreakMeasurer(AttributedCharacterIterator text, BreakIterator breakIter, FontRenderContext frc)
          Constructs a LineBreakMeasurer for the specified text.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.