JavaTM Platform
Standard Ed. 6

클래스
java.awt.font.TextLayout 의 사용

TextLayout 를 사용하고 있는 패키지
java.awt.font 폰트 관련의 클래스 및 인터페이스를 제공합니다.  
 

java.awt.font 에서의 TextLayout 의 사용
 

TextLayout 를 돌려주는 java.awt.font 의 메소드
 TextLayout TextLayout. getJustifiedLayout (float justificationWidth)
          지정된 폭에 행 가지런히 하고 된, 이 TextLayout 의 카피를 작성합니다.
 TextLayout TextMeasurer. getLayout (int start, int limit)
          지정된 문자 범위의 TextLayout 를 돌려줍니다.
 TextLayout LineBreakMeasurer. nextLayout (float wrappingWidth)
          다음의 레이아웃을 돌려주어, 현재의 위치를 갱신합니다.
 TextLayout LineBreakMeasurer. nextLayout (float wrappingWidth, int offsetLimit, boolean requireNextWord)
          다음의 레이아웃을 돌려주어, 현재의 위치를 갱신합니다.
 

TextLayout 형의 파라미터를 가지는 java.awt.font 의 메소드
 boolean TextLayout. equals (TextLayout  rhs)
          2 개의 레이아웃이 동일한 경우에 true 를 돌려줍니다.
 TextHitInfo TextLayout.CaretPolicy. getStrongCaret (TextHitInfo  hit1, TextHitInfo  hit2, TextLayout  layout)
          지정된 TextLayout 로, 지정된 TextHitInfo 인스턴스의 어느 쪽인지를 강한 caret로서 선택합니다.
 


JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.