You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/10/31 22:27:40 UTC

[royale-asjs] 05/09: use beingStroke/endStroke for JS

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

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit f4bbde5df4b12abdfd6083cc92acc0eecea85ab8
Author: Alex Harui <ah...@apache.org>
AuthorDate: Wed Oct 31 15:24:10 2018 -0700

    use beingStroke/endStroke for JS
---
 .../src/main/royale/mx/charts/chartClasses/GraphicsUtilities.as   | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/GraphicsUtilities.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/GraphicsUtilities.as
index be19b25..00fb71e 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/GraphicsUtilities.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/GraphicsUtilities.as
@@ -237,6 +237,10 @@ public class GraphicsUtilities
 		else
 			incr = 1;
 		
+        COMPILE::JS
+        {
+            g.beginStroke();
+        }
 		if (moveToStart)
 			g.moveTo(pts[start][hProp], pts[start][vProp]);
 		else
@@ -501,6 +505,10 @@ public class GraphicsUtilities
 					  pts[j][hProp], pts[j][vProp]);
 
 		}
+        COMPILE::JS
+        {
+            g.endStroke();
+        }
 	}