blob: a040799a123f0ff5593d2733302286b0cae55def [file] [log] [blame]
<?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:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<s:Panel title="Ellipse Graphic Sample"
width="100%" height="100%">
<s:Graphic horizontalCenter="0" verticalCenter="0">
<s:Ellipse height="100" width="250">
<s:stroke>
<s:SolidColorStroke color="0x000000" weight="5"/>
</s:stroke>
<s:fill>
<s:RadialGradient>
<s:entries>
<s:GradientEntry color="0x336699" ratio="0.33" alpha="0.8"/>
<s:GradientEntry color="0x339999" ratio="0.66" alpha="0.8"/>
<s:GradientEntry color="0x323232" ratio="0.99" alpha="0.8"/>
</s:entries>
</s:RadialGradient>
</s:fill>
</s:Ellipse>
</s:Graphic>
<s:Label right="25" top="10" width="270" text="The Ellipse class is a filled graphic element that draws an ellipse. Graphic
objects are placed in a Graphic tag which defines the root of an FXG document."/>
</s:Panel>
</s:Module>