v

[ActionScript 3] TextArea embedFonts

· 2011-11-22 (화) 11:10:46 · 3088
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);
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
12-01-11 조회 2,743
12-01-11 조회 1.2만
12-01-10 조회 2,845
12-01-08 조회 3,439
12-01-05 조회 5,331
11-12-29 조회 3,046
11-12-27 조회 2,833
11-12-25 조회 3,016
11-12-22 조회 3,452
11-12-14 조회 2,916
11-12-12 조회 3,533
11-11-28 조회 3,375
10-10-19 조회 2,834
08-09-05 조회 3,754
08-09-05 조회 3,569
08-06-14 조회 3,314
08-04-22 조회 3,589
08-04-17 조회 3,594
07-10-03 조회 4,210
07-10-03 조회 3,605
07-10-03 조회 7,286
07-10-03 조회 4,564
07-10-03 조회 3,262
07-10-03 조회 2,853
07-10-02 조회 3,569
07-10-02 조회 3,097
07-09-27 조회 5,016
07-09-27 조회 3,842
06-09-26 조회 3,514
06-09-26 조회 4,730
06-09-22 조회 3,905
06-09-22 조회 3,521
06-09-22 조회 4,268
06-09-21 조회 4,201
06-08-18 조회 3,691
05-11-30 조회 4,740
05-07-15 조회 4,587
05-03-23 조회 4,651
05-03-14 조회 3,319
05-03-13 조회 2,695
04-08-05 조회 5,767