You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2020/10/19 06:44:22 UTC

[royale-asjs] branch develop updated: BitmapData is JS only

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 <yi...@yell.com>
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
 		{
 		}