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/09/30 16:08:57 UTC
[royale-asjs] branch develop updated: Adding some APIs to spark Rect
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 ee9aa0f Adding some APIs to spark Rect
ee9aa0f is described below
commit ee9aa0fc0a7494fdb9288aae77acd43c5d8566db
Author: Yishay Weiss <yi...@yell.com>
AuthorDate: Wed Sep 30 17:08:35 2020 +0100
Adding some APIs to spark Rect
---
.../src/main/royale/spark/primitives/Rect.as | 28 +++++++++++-----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/primitives/Rect.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/primitives/Rect.as
index d895d43..c6f2aea 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/primitives/Rect.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/primitives/Rect.as
@@ -342,9 +342,9 @@ public class Rect extends UIComponent
// topLeftRadiusY
//----------------------------------
- /* private var _topLeftRadiusY:Number;
+ private var _topLeftRadiusY:Number;
- [Inspectable(category="General", minValue="0.0")] */
+ [Inspectable(category="General", minValue="0.0")]
/**
* The y radius of the top left corner of the rectangle.
@@ -356,7 +356,7 @@ public class Rect extends UIComponent
* @playerversion AIR 1.5
* @productversion Royale 0.9.4
*/
- /* public function get topLeftRadiusY():Number
+ public function get topLeftRadiusY():Number
{
return _topLeftRadiusY;
}
@@ -367,11 +367,11 @@ public class Rect extends UIComponent
{
_topLeftRadiusY = value;
- invalidateSize();
- invalidateDisplayList();
- invalidateParentSizeAndDisplayList();
+ //invalidateSize();
+ //invalidateDisplayList();
+ //invalidateParentSizeAndDisplayList();
}
- } */
+ }
//----------------------------------
// topRightRadiusX
@@ -412,9 +412,9 @@ public class Rect extends UIComponent
// topRightRadiusY
//----------------------------------
- /* private var _topRightRadiusY:Number;
+ private var _topRightRadiusY:Number;
- [Inspectable(category="General", minValue="0.0")] */
+ [Inspectable(category="General", minValue="0.0")]
/**
* The y radius of the top right corner of the rectangle.
@@ -426,7 +426,7 @@ public class Rect extends UIComponent
* @playerversion AIR 1.5
* @productversion Royale 0.9.4
*/
- /* public function get topRightRadiusY():Number
+ public function get topRightRadiusY():Number
{
return _topRightRadiusY;
}
@@ -437,11 +437,11 @@ public class Rect extends UIComponent
{
_topRightRadiusY = value;
- invalidateSize();
- invalidateDisplayList();
- invalidateParentSizeAndDisplayList();
+ //invalidateSize();
+ //invalidateDisplayList();
+ //invalidateParentSizeAndDisplayList();
}
- } */
+ }
//--------------------------------------------------------------------------
//