| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <s:Application backgroundColor="0xFFFFFF" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" |
| xmlns:s="library://ns.adobe.com/flex/spark" width="800" height="700" xmlns:comps="comps.*" > |
| |
| <fx:Declarations> |
| <!-- These transforms should make the rotation -20 --> |
| <s:Transform id="transform_move_rotate1"> |
| <s:matrix> |
| <s:Matrix a="0.9396926207859084" b="-0.3420201433256687" c="0.3420201433256687" d="0.9396926207859084" |
| tx="215" ty="400" /> |
| </s:matrix> |
| </s:Transform> |
| <s:Transform id="transform_move_rotate2"> |
| <s:matrix> |
| <s:Matrix a="0.9396926207859084" b="-0.3420201433256687" c="0.3420201433256687" d="0.9396926207859084" |
| tx="215" ty="400" /> |
| </s:matrix> |
| </s:Transform> |
| <s:Transform id="transform_move_rotate3"> |
| <s:matrix> |
| <s:Matrix a="0.9396926207859084" b="-0.3420201433256687" c="0.3420201433256687" d="0.9396926207859084" |
| tx="215" ty="400" /> |
| </s:matrix> |
| </s:Transform> |
| <s:Transform id="transform_move_rotate4"> |
| <s:matrix> |
| <s:Matrix a="0.9396926207859084" b="-0.3420201433256687" c="0.3420201433256687" d="0.9396926207859084" |
| tx="215" ty="400" /> |
| </s:matrix> |
| </s:Transform> |
| <s:Transform id="transform_move_rotate5"> |
| <s:matrix> |
| <s:Matrix a="0.9396926207859084" b="-0.3420201433256687" c="0.3420201433256687" d="0.9396926207859084" |
| tx="215" ty="400" /> |
| </s:matrix> |
| </s:Transform> |
| <s:Transform id="transform_move_rotate6"> |
| <s:matrix> |
| <s:Matrix a="0.9396926207859084" b="-0.3420201433256687" c="0.3420201433256687" d="0.9396926207859084" |
| tx="5" ty="215" /> |
| </s:matrix> |
| </s:Transform> |
| <s:Matrix id="transform_rotate1" a="132" b="49" c="-50" d="-10" tx="0" ty="0"/> |
| <s:Matrix id="transform_rotate2" a="132" b="49" c="-50" d="-10" tx="25" ty="35"/> |
| <s:Matrix id="transform_xy1" a="100" b="10" c="-50" d="100" tx="10" ty="0"/> |
| <s:Matrix id="transform_xy2" a="100" b="10" c="-50" d="100" tx="15" ty="35"/> |
| <s:LinearGradient id="lg"> |
| <s:GradientEntry ratio="0" color="0x0000ff" /> |
| <s:GradientEntry ratio="0.5" color="0x00ff00" /> |
| <s:GradientEntry ratio="1" color="0x0000ff" /> |
| </s:LinearGradient> |
| <s:BitmapFill id="rectFill" source="@Embed('../../../../../Assets/Images/redrect.jpg')" /> |
| <s:SolidColorStroke id="redStroke" weight="8" color="0xCC0000" /> |
| </fx:Declarations> |
| |
| <!-- Canvas with Rect width="200" height="200" x="5" y="5" --> |
| <comps:RectBasic id="graphic1" /> |
| |
| <!-- Canvas with Rect width="300" height="300" x="215" y="5" --> |
| <comps:RectBasic2 id="graphic2" /> |
| |
| <!-- 60x70 Group with Rect at (5, 215) --> |
| <comps:RectGradientStroke id="rect_linearGradientStroke" /> |
| |
| <!-- 75x75 Rect at (100, 215) --> |
| <comps:myRectVfalse id="myRect_Vfalse" /> |
| |
| <!-- 75x75 Rect at (5, 310) --> |
| <comps:myRectVtrue id="myRect_Vtrue" /> |
| |
| <!-- 60x60 Rect at (100, 310) --> |
| <comps:RectRotateMatrix id="rect_rotate_matrix" /> |
| |
| <!-- 60x60 Rect at (500, 500) --> |
| <comps:RectMoveXYMatrix id="rect_xy_matrix" /> |
| |
| <!-- 60x60 Rect at (225, 350) --> |
| <comps:RectScaleMatrix id="rect_scale_matrix" /> |
| |
| <!-- 60x60 Rect at (100, 310) visible=false--> |
| <comps:RectRotateMatrix2 id="rect_rotate_matrix_override" /> |
| |
| <!-- 60x60 Rect at (500, 500) visible=false--> |
| <comps:RectMoveXYMatrix2 id="rect_xy_matrix_override" /> |
| |
| <!-- 60x60 Rect at (225, 350) visible=false--> |
| <comps:RectScaleMatrix2 id="rect_scale_matrix_override" /> |
| |
| <!-- 60x70 Group with Rect at (375, 420) --> |
| <comps:RectRadialGradientStroke id="rect_radialGradientStroke" /> |
| |
| <!-- 75x75 Graphic with Rect at (5, 480) --> |
| |
| <comps:RectWithRadius id="rect_radiusSet" /> |
| |
| </s:Application> |