You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2018/04/26 10:33:48 UTC

[GitHub] alinakazi closed pull request #211: ShadowLineRenderer.as Added

alinakazi closed pull request #211: ShadowLineRenderer.as Added
URL: https://github.com/apache/royale-asjs/pull/211
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
index a35858020..e1da862e7 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
@@ -116,6 +116,7 @@ internal class MXRoyaleClasses
   import mx.charts.series.ColumnSeries; ColumnSeries;
 	import mx.charts.CategoryAxis; CategoryAxis;
 	import mx.charts.LinearAxis; LinearAxis;
+	import mx.charts.renderers.ShadowLineRenderer; ShadowLineRenderer;
 
     COMPILE::SWF
     {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/renderers/ShadowLineRenderer.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/renderers/ShadowLineRenderer.as
new file mode 100644
index 000000000..87278d452
--- /dev/null
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/renderers/ShadowLineRenderer.as
@@ -0,0 +1,74 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.charts.renderers
+{
+/* 
+import flash.filters.DropShadowFilter;
+import mx.charts.chartClasses.GraphicsUtilities;
+import mx.core.IDataRenderer;
+import mx.graphics.IStroke;
+import mx.skins.ProgrammaticSkin; */
+
+/**
+ *  An implementation of a line segment renderer
+ *  that is used by LineSeries objects.
+ *  This class renders a line on screen with a dropshadow by using
+ *  the stroke and form defined by the owning series's
+ *  <code>lineStroke</code> and <code>form</code> styles, respectively.
+ *  <p>ShadowLineRenderer is the default lineSegmentRenderer
+ *  for the LineSeries class.</p>
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class ShadowLineRenderer
+{
+
+ //extends ProgrammaticSkin implements IDataRenderer
+   // include "../../core/Version.as";
+
+    
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *  
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function ShadowLineRenderer() 
+	{
+		//super();
+
+		//filters = FILTERS;		
+	}
+
+    
+}
+
+}


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services