Uses of Class
java.awt.font.FontRenderContext
 
   -  
      Packages that use FontRenderContext 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.font 提供与字体相关的类和界面。
-  
      -  
        Uses of FontRenderContext in java.awtMethods in java.awt that return FontRenderContext Modifier and Type 方法 描述 FontRenderContextFontMetrics. getFontRenderContext()获取FontRenderContext使用此FontMetrics对象测量文本。abstract FontRenderContextGraphics2D. getFontRenderContext()获取的渲染上下文Font这个范围内Graphics2D上下文。Methods in java.awt with parameters of type FontRenderContext Modifier and Type 方法 描述 GlyphVectorFont. createGlyphVector(FontRenderContext frc, char[] chars)通过在Font中基于Unicode cmap将字符映射到字形,创建一个Font。GlyphVectorFont. createGlyphVector(FontRenderContext frc, int[] glyphCodes)创建GlyphVector通过映射字符字形的一对一的基础上在此的Unicode cmapFont。GlyphVectorFont. createGlyphVector(FontRenderContext frc, String str)通过在Font中基于Unicode cmap将字符映射到字形,创建一个Font。GlyphVectorFont. createGlyphVector(FontRenderContext frc, CharacterIterator ci)通过在Font中基于Unicode cmap将指定的字符映射到字形,创建一个Font。LineMetricsFont. getLineMetrics(char[] chars, int beginIndex, int limit, FontRenderContext frc)返回使用指定参数创建的对象LineMetrics。LineMetricsFont. getLineMetrics(String str, int beginIndex, int limit, FontRenderContext frc)返回使用指定参数创建的LineMetrics对象。LineMetricsFont. getLineMetrics(String str, FontRenderContext frc)返回使用指定的String和FontRenderContext创建的LineMetrics对象。LineMetricsFont. getLineMetrics(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc)返回使用指定参数创建的一个LineMetrics对象。Rectangle2DFont. getMaxCharBounds(FontRenderContext frc)返回具有指定的FontRenderContext定义的最大边界的字符的边界。Rectangle2DFont. getStringBounds(char[] chars, int beginIndex, int limit, FontRenderContext frc)返回指定的FontRenderContext中指定字符数组的逻辑边界。Rectangle2DFont. getStringBounds(String str, int beginIndex, int limit, FontRenderContext frc)返回在指定的String中指定的FontRenderContext的逻辑边界。Rectangle2DFont. getStringBounds(String str, FontRenderContext frc)返回在指定的String中指定的FontRenderContext的逻辑边界。Rectangle2DFont. getStringBounds(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc)返回指定索引的字符的逻辑边界CharacterIterator指定FontRenderContext。GlyphVectorFont. layoutGlyphVector(FontRenderContext frc, char[] text, int start, int limit, int flags)返回一个新的GlyphVector对象,如果可能,执行文本的全面布局。
-  
        Uses of FontRenderContext in java.awt.fontMethods in java.awt.font that return FontRenderContext Modifier and Type 方法 描述 abstract FontRenderContextGlyphVector. getFontRenderContext()返回FontRenderContext与此相关GlyphVector。Methods in java.awt.font with parameters of type FontRenderContext Modifier and Type 方法 描述 booleanFontRenderContext. equals(FontRenderContext rhs)如果rhs具有相同的变换,抗锯齿和小数度量值,则返回true。RectangleGlyphVector. getGlyphPixelBounds(int index, FontRenderContext renderFRC, float x, float y)当这个返回index字形的像素边界GlyphVector在渲染Graphics给定FontRenderContext在给定位置。RectangleGlyphVector. getPixelBounds(FontRenderContext renderFRC, float x, float y)在给定位置的给定FontRenderContext的图形中渲染时,返回此GlyphVector的像素边界。RectangleTextLayout. getPixelBounds(FontRenderContext frc, float x, float y)在给定位置的给定FontRenderContext的图形中渲染时返回此TextLayout的像素边界。Constructors in java.awt.font with parameters of type FontRenderContext Constructor 描述 LineBreakMeasurer(AttributedCharacterIterator text, FontRenderContext frc)为指定的文本构造一个LineBreakMeasurer。LineBreakMeasurer(AttributedCharacterIterator text, BreakIterator breakIter, FontRenderContext frc)为指定的文本构造一个LineBreakMeasurer。TextLayout(String string, Font font, FontRenderContext frc)构造一个TextLayout从String和Font。TextLayout(String string, Map<? extends AttributedCharacterIterator.Attribute,?> attributes, FontRenderContext frc)从一个String和一个属性集构造一个TextLayout。TextLayout(AttributedCharacterIterator text, FontRenderContext frc)从迭代器构造一个TextLayout超过样式文本。TextMeasurer(AttributedCharacterIterator text, FontRenderContext frc)从源文本构造一个TextMeasurer。
 
-