Sure they are.

Try this:
var myRect:org.apache.flex.core.graphics.Rect = new 
org.apache.flex.core.graphics.Rect();
var transform:Matrix = myRect.transform;

On Jul 11, 2016, at 10:16 AM, Alex Harui <aha...@adobe.com> wrote:

> 
> 
> On 7/11/16, 12:06 AM, "Harbs" <harbs.li...@gmail.com> wrote:
> 
>> I believe Bitmaps use Rectangles.
> 
> OK but flash.display.Bitmap should not be exposed to the SWC's API
> surface.  Bitmap should be wrapped and rectangles in its API should be
> wrapped as well.
> 
>> 
>> FlexJS subclasses DisplayObject which returns a Flash Matrix for the
>> transform. IF you try to use transformPoint() on that, it’ll return (and
>> expects) a Flash Point.
> 
> Again, the transform and flash.geom.Matrix should not be exposed to the
> SWC's API surface. 
> 
> -Alex
> 

Reply via email to