|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
FontRenderContext 를 사용하고 있는 패키지 | |
---|---|
java.awt | 사용자 인터페이스의 작성 및 그래픽스와 이미지의 페인트용의 모든 클래스를 포함합니다. |
java.awt.font | 폰트 관련의 클래스 및 인터페이스를 제공합니다. |
java.awt 에서의 FontRenderContext 의 사용 |
---|
FontRenderContext 를 돌려주는 java.awt 의 메소드 | |
---|---|
abstract FontRenderContext |
Graphics2D. getFontRenderContext ()
이 Graphics2D 문맥에서의 Font 의 draw 문맥을 돌려줍니다. |
FontRenderContext |
FontMetrics. getFontRenderContext ()
텍스트를 측정하기 위해서 이 FontMetrics 객체로 사용되는 FontRenderContext 를 가져옵니다. |
FontRenderContext 형의 파라미터를 가지는 java.awt 의 메소드 | |
---|---|
GlyphVector |
Font. createGlyphVector (FontRenderContext frc,
char[] chars)
이 Font 의 Unicode cmap 를 베이스로 해, 문자와 Glyph를 1 대 1 에 매핑 해,GlyphVector 를 생성합니다. |
GlyphVector |
Font. createGlyphVector (FontRenderContext frc,
CharacterIterator ci)
이 Font 의 Unicode cmap 를 베이스로 해, 지정된 문자와 Glyph를 1 대 1 에 매핑 해,GlyphVector 를 생성합니다. |
GlyphVector |
Font. createGlyphVector (FontRenderContext frc,
int[] glyphCodes)
이 Font 의 Unicode cmap 를 베이스로 해, 문자와 Glyph를 1 대 1 에 매핑 해,GlyphVector 를 생성합니다. |
GlyphVector |
Font. createGlyphVector (FontRenderContext frc,
String str)
이 Font 의 Unicode cmap 를 베이스로 해, 문자와 Glyph를 1 대 1 에 매핑 해,GlyphVector 를 생성합니다. |
LineMetrics |
Font. getLineMetrics (char[] chars,
int beginIndex,
int limit,
FontRenderContext frc)
지정된 인수로 생성된 LineMetrics 객체를 돌려줍니다. |
LineMetrics |
Font. getLineMetrics (CharacterIterator ci,
int beginIndex,
int limit,
FontRenderContext frc)
지정된 인수로 생성된 LineMetrics 객체를 돌려줍니다. |
LineMetrics |
Font. getLineMetrics (String str,
FontRenderContext frc)
지정된 String 및 FontRenderContext 에 의해 작성된 LineMetrics 객체를 돌려줍니다. |
LineMetrics |
Font. getLineMetrics (String str,
int beginIndex,
int limit,
FontRenderContext frc)
지정된 인수로 생성된 LineMetrics 객체를 돌려줍니다. |
Rectangle2D |
Font. getMaxCharBounds (FontRenderContext frc)
지정된 FontRenderContext 로, 최대의 경계를 가지는 문자의 경계를 돌려줍니다. |
Rectangle2D |
Font. getStringBounds (char[] chars,
int beginIndex,
int limit,
FontRenderContext frc)
지정된 FontRenderContext 의 지정된 문자 배열의 논리 바운드를 돌려줍니다. |
Rectangle2D |
Font. getStringBounds (CharacterIterator ci,
int beginIndex,
int limit,
FontRenderContext frc)
지정된 FontRenderContext 의 지정된 CharacterIterator 에 인덱스 붙이고 된 문자의 논리 바운드를 돌려줍니다. |
Rectangle2D |
Font. getStringBounds (String str,
FontRenderContext frc)
지정된 FontRenderContext 의 지정된 String 의 논리 바운드를 돌려줍니다. |
Rectangle2D |
Font. getStringBounds (String str,
int beginIndex,
int limit,
FontRenderContext frc)
지정된 FontRenderContext 의 지정된 String 의 논리 바운드를 돌려줍니다. |
GlyphVector |
Font. layoutGlyphVector (FontRenderContext frc,
char[] text,
int start,
int limit,
int flags)
가능한 경우에 텍스트의 완전한 레이아웃을 실시하는, 새로운 GlyphVector 객체를 돌려줍니다. |
java.awt.font 에서의 FontRenderContext 의 사용 |
---|
FontRenderContext 를 돌려주는 java.awt.font 의 메소드 | |
---|---|
abstract FontRenderContext |
GlyphVector. getFontRenderContext ()
이 GlyphVector 에 관련한 FontRenderContext 를 돌려줍니다. |
FontRenderContext 형의 파라미터를 가지는 java.awt.font 의 메소드 | |
---|---|
boolean |
FontRenderContext. equals (FontRenderContext rhs)
rhs 의 변환, 평활화, 및 부분 메트릭스의 값이 이것과 동일한 경우는 true 를 돌려줍니다. |
Rectangle |
GlyphVector. getGlyphPixelBounds (int index,
FontRenderContext renderFRC,
float x,
float y)
지정된 위치에서 지정된 FontRenderContext 를 사용해 Graphics 내에 이 GlyphVector 가 draw 될 때의 인덱스의 위치에 있는 Glyph의 픽셀 경계를 돌려줍니다. |
Rectangle |
GlyphVector. getPixelBounds (FontRenderContext renderFRC,
float x,
float y)
지정된 위치에서 지정된 FontRenderContext 를 사용해, 그래픽스내에 이 GlyphVector 가 draw 될 때의 인덱스의 위치에 있는 Glyph의 픽셀 경계를 돌려줍니다. |
Rectangle |
TextLayout. getPixelBounds (FontRenderContext frc,
float x,
float y)
지정된 위치에서 지정된 FontRenderContext 를 사용해, 그래픽스내에 이 TextLayout 가 draw 될 때의 인덱스의 위치에 있는 Glyph의 픽셀 경계를 돌려줍니다. |
FontRenderContext 형의 파라미터를 가지는 java.awt.font 의 생성자 | |
---|---|
LineBreakMeasurer (AttributedCharacterIterator text,
BreakIterator breakIter,
FontRenderContext frc)
지정된 텍스트에 대한 LineBreakMeasurer 를 구축합니다. |
|
LineBreakMeasurer (AttributedCharacterIterator text,
FontRenderContext frc)
지정된 텍스트에 대한 LineBreakMeasurer 를 구축합니다. |
|
TextLayout (AttributedCharacterIterator text,
FontRenderContext frc)
서식 첨부 텍스트의 반복자로부터 TextLayout 를 구축합니다. |
|
TextLayout (String string,
Font font,
FontRenderContext frc)
String 및 Font 로부터 TextLayout 를 구축합니다. |
|
TextLayout (String string,
Map <? extends AttributedCharacterIterator.Attribute ,? > attributes,
FontRenderContext frc)
String 및 속성 세트로부터 TextLayout 를 구축합니다. |
|
TextMeasurer (AttributedCharacterIterator text,
FontRenderContext frc)
소스 텍스트로부터 TextMeasurer 를 구축합니다. |
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전 다음 | 프레임 있어 프레임 없음 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.