Flex中通过fontAntiAliasType, fontSharpness, fontThickness和fontGridFitType样式设置字体类型,角度,粗细等的例子

接下来的例子演示了Flex中通过fontAntiAliasType, fontSharpness, fontThickness和fontGridFitType样式,设置字体类型,角度,粗细等。

让我们先来看一下Demo可以右键View Source或点击这里察看源代码):

下面是完整代码(或点击这里察看):



@font-face {
src: local(“Arial”);
fontFamily: “ArialEmbedded”;
}

Label {
fontFamily: ArialEmbedded;
}









{antiAliasTypeComboBox.selectedIndex == 1}























代码:Peter deHaan 翻译/整理/编译:中文Flex例子

1 thought on “Flex中通过fontAntiAliasType, fontSharpness, fontThickness和fontGridFitType样式设置字体类型,角度,粗细等的例子”

  1. 在导航容器(如accordion)中使用VBox等容器的label属性显示容器中的内容标题,如何改变label的字体大小,多谢!

Leave a Reply

Your email address will not be published. Required fields are marked *