v

[ActionScript 3] TextArea embedFonts

· 14년 전 · 1899
import fl.controls.TextArea;

var chaparralProEmbeddedFont:Font = new ChaparralProEmbedded();

var textFormat:TextFormat = new TextFormat();
textFormat.font = chaparralProEmbeddedFont.fontName;
textFormat.size = 32;

var textArea:TextArea = new TextArea();
textArea.setStyle("textFormat", textFormat);
textArea.setStyle("embedFonts", true);
textArea.text = "The quick brown dog jumps over the lazy fox.";
textArea.move(10, 10);
textArea.setSize(300, 200);
addChild(textArea);
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

개발자팁

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
Flash 14년 전 조회 3,187
기타 14년 전 조회 2,192
JavaScript 14년 전 조회 2,395
jQuery 14년 전 조회 3,946
Flash 14년 전 조회 3,340
JavaScript 14년 전 조회 2,414
jQuery 14년 전 조회 9,220
JavaScript 14년 전 조회 1,652
Flash 14년 전 조회 2,273
PHP 14년 전 조회 2,775
PHP 14년 전 조회 3,476
jQuery 14년 전 조회 2,809
기타 14년 전 조회 1,891
PHP 14년 전 조회 4,677
기타 14년 전 조회 1,900
Flash 14년 전 조회 2,075
JavaScript 14년 전 조회 1,774
PHP 14년 전 조회 2,572
JavaScript 14년 전 조회 2,133
jQuery 14년 전 조회 7,130
PHP 14년 전 조회 4,051
PHP 14년 전 조회 2,414
MySQL 14년 전 조회 5,055
기타 14년 전 조회 2,725
jQuery 14년 전 조회 5,805
PHP 14년 전 조회 7,733
PHP 14년 전 조회 2,275
PHP 14년 전 조회 2,389
JavaScript 14년 전 조회 1,756
PHP 14년 전 조회 2,394
🐛 버그신고