Quantcast
Channel: 中文Flex例子 » TextGraphic
Viewing all articles
Browse latest Browse all 4

Flex Gumbo中如何通过maskType属性将TextGraphic对象作为一个Rect对象Mask的例子

$
0
0
接下来的例子演示了Flex Gumbo中如何通过maskType属性,将TextGraphic对象作为一个Rect对象Mask。 让我们先来看一下Demo(可以点击这里察看源代码): 下面是完整代码(或点击这里察看): Download: main.mxml<?xml version="1.0" encoding="utf-8"?> <Application name="Rect_mask_TextGraphic_test"         xmlns="http://ns.adobe.com/mxml/2009"         layout="vertical"         verticalAlign="middle"         backgroundColor="white">       <Script>         <![CDATA[             private function init():void {                 rect.width = textGr.width;                 rect.height = [...]

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images