flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ent <p...@adobe.com>
Subject Re: [FlexJS] How to use the Graphics framework?
Date Fri, 13 May 2016 13:59:52 GMT
It looks like you are just missing the <js:fill> property of the circle:

<js:Circle x="100" y="100" radius="50">
	<js:fill>
		<js:SolidColor color="#26C9FF" />
	</js:fill>
</js:Circle>

I'm surprised you didn't get an error with the SolidColor tag just
floating within the Circle element.

Peter Ent
Adobe Systems/Apache Flex Project

On 5/13/16, 3:16 AM, "OK" <OKrueger@edscha.com> wrote:

>Hi,
>I've just found the "org.apache.flex.core.graphics" classes and try to
>draw
>a circle... without success.
>The only thing I've got is an empty screen.
>
>I used the follwing snippet as "initialView":
>
><js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
>				xmlns:js="library://ns.apache.org/flexjs/basic" >
>		<js:Circle x="100" y="100" radius="50">
>			<js:SolidColor color="#26C9FF" />
>		</js:Circle>
></js:ViewBase>
>
>Maybe there's a surrounding container needed to make it work?
>Does somebody know how it works?
>
>Thanks,
>Olaf
>
>
>
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/FlexJS-How-to-use-the-Graph
>ics-framework-tp12681.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.


Mime
View raw message