This is an automated email from the ASF dual-hosted git repository.

alinakazi 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 2a880b9  BitMapData setter added
2a880b9 is described below

commit 2a880b9075e0655ab5b6e74b3c40e926f45523f4
Author: alinakazi <[email protected]>
AuthorDate: Thu Mar 11 20:58:13 2021 +0500

    BitMapData setter added
---
 .../projects/MXRoyale/src/main/royale/mx/display/Bitmap.as     | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/display/Bitmap.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/display/Bitmap.as
index c017053..4cd1837 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/display/Bitmap.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/display/Bitmap.as
@@ -54,10 +54,18 @@ package mx.display
                        {
                                _smoothing = value;
                        }
+                       
+                       private var     _bitmapData : BitmapData =  null;
+
                        // not implemented
                        public function get bitmapData():BitmapData
                        {
-                               return null;
+                               return _bitmapData;
+                       }
+                       
+                       public function set bitmapData(value:BitmapData):void
+                       {
+                               _bitmapData = value;
                        }
                        
                }

Reply via email to