[原] 演示Flash Text Engine(FTE) 的baseline相关属性

demo of changing baseline properties of FTE

Flash Text Engine(FTE)中几个baseline关键字的和文字对齐相关的属性:

ElementFormat.alignmentBaseline

ElementFormat.baselineShift

ElementFormat.dominantBaseline

TextBlock.baselineZero

TextBlock.bidiLevel

这个demo就是演示改变这些属性会有什么样的直观效果.

Demo:

如果你看不到flash, 你就直接到 http://www.smithfox.com/myopensource/textbaselinedemo/test16.swf

smithfox | Thursday 01 September 2011 at 4:07 pm | | UI        | Used tags: ,

four comments

zrong

这个很给力 呵呵
老实说,完全可以自己写一个TextField来显示静态文本了

zrong, (URL) - 20-09-’11 14:49
smithfox

你什么时候, 可以将你的 基于RichEditText实现的 聊天模拟程序, 用FTE重写一下, 哈哈!

smithfox, (URL) - 20-09-’11 15:58
Luxury Chanel iPhone 6 Plus Cases

Measuring 8.99-inches tall and 6.05-inches across, the Nexus 9 is a fair thickness at 7.95mm (0.31-inches) in depth. Despite having a plastic back cover, with a bit of a loose spot that bothers many users, the Nexus 9 is also a very solid feeling tablet

Luxury Chanel iPhone 6 Plus Cases, (URL) - 20-04-’15 18:23
MCM iPhone 6 Cases

If you want to protect your One M9 without compromising its appearance, we suggest clear cases. A clear case solves the problem of masking the M9’s design sheen and offering a decent amount of basic protection.

MCM iPhone 6 Cases, (URL) - 18-06-’15 16:32
(optional field)
(optional field)
为阻止垃圾广告, 请在提交评论前, 回答一个简单问题(Please answer an simple question)
Remember personal info?
Notify
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.