v

[ActionScript 3] TextArea embedFonts

· 14년 전 · 1900
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,189
기타 14년 전 조회 2,193
JavaScript 14년 전 조회 2,396
jQuery 14년 전 조회 3,947
Flash 14년 전 조회 3,341
JavaScript 14년 전 조회 2,414
jQuery 14년 전 조회 9,220
JavaScript 14년 전 조회 1,653
Flash 14년 전 조회 2,274
PHP 14년 전 조회 2,775
PHP 14년 전 조회 3,477
jQuery 14년 전 조회 2,809
기타 14년 전 조회 1,892
PHP 14년 전 조회 4,678
기타 14년 전 조회 1,901
Flash 14년 전 조회 2,075
JavaScript 14년 전 조회 1,775
PHP 14년 전 조회 2,573
JavaScript 14년 전 조회 2,134
jQuery 14년 전 조회 7,131
PHP 14년 전 조회 4,051
PHP 14년 전 조회 2,415
MySQL 14년 전 조회 5,055
기타 14년 전 조회 2,726
jQuery 14년 전 조회 5,805
PHP 14년 전 조회 7,733
PHP 14년 전 조회 2,275
PHP 14년 전 조회 2,389
JavaScript 14년 전 조회 1,756
PHP 14년 전 조회 2,394
🐛 버그신고