This is an automated email from the ASF dual-hosted git repository.
yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new d7034aa BitmapData is JS only
d7034aa is described below
commit d7034aa1cc39d70bfacbdb781fb59cddd295e9cd
Author: Yishay Weiss <[email protected]>
AuthorDate: Mon Oct 19 07:43:59 2020 +0100
BitmapData is JS only
---
frameworks/projects/MXRoyale/src/main/royale/mx/display/Graphics.as | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/display/Graphics.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/display/Graphics.as
index c8770b3..61de14c 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/display/Graphics.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/display/Graphics.as
@@ -22,7 +22,10 @@ package mx.display
import mx.core.UIComponent;
import mx.geom.Matrix;
import mx.graphics.GradientEntry;
- import org.apache.royale.display.BitmapData;
+ COMPILE::JS
+ {
+ import org.apache.royale.display.BitmapData;
+ }
public class Graphics// extends org.apache.royale.svg.CompoundGraphic
{
@@ -498,6 +501,7 @@ package mx.display
}
// not implemented
+ COMPILE::JS
public function beginBitmapFill(bitmap:BitmapData, matrix:Matrix =
null, repeat:Boolean = true, smooth:Boolean = false):void
{
}