[ 
https://issues.apache.org/jira/browse/FLEX-35089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Ent resolved FLEX-35089.
------------------------------
    Resolution: Fixed

The JS side of core.graphics shape classes (Circle, Rect, etc.) were having 
their style left and top positions reset to (0,0). The graphic shapes are drawn 
relative to their own upper-left corner so this repositioning was not actually 
necessary. Removing it allowed the graphics to be positioned where intended.

> FlexJS Circle not drawn in proper location when x-compiled for JavaScript
> -------------------------------------------------------------------------
>
>                 Key: FLEX-35089
>                 URL: https://issues.apache.org/jira/browse/FLEX-35089
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.6.0
>            Reporter: Peter Ent
>            Assignee: Peter Ent
>
> <js:Circle x="200" y="200" radius="50">
>     <js:fill>
>         <js:SolidColor color="#FF0000" />
>     </js:fill>
> </js:Circle>
> The circle above should be drawn with its center at (200,200). This is true 
> for the SWF version but when x-compiled to JavaScript and run in a browser, 
> the circle is centered at (100,100). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to