Repository: flex-asjs
Updated Branches:
  refs/heads/develop 60f17d1bc -> 72c900969


Add some variety in rect shapes and colors


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/25edf1fe
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/25edf1fe
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/25edf1fe

Branch: refs/heads/develop
Commit: 25edf1feee9e95d7c0d316e6dbc38a0daaec68f0
Parents: 60f17d1
Author: Om <[email protected]>
Authored: Fri Sep 5 15:10:56 2014 -0700
Committer: Om <[email protected]>
Committed: Fri Sep 5 15:19:22 2014 -0700

----------------------------------------------------------------------
 examples/FlexJSTest_SVG/src/GraphicsView.mxml | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/25edf1fe/examples/FlexJSTest_SVG/src/GraphicsView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest_SVG/src/GraphicsView.mxml 
b/examples/FlexJSTest_SVG/src/GraphicsView.mxml
index a4569fc..23f5e68 100644
--- a/examples/FlexJSTest_SVG/src/GraphicsView.mxml
+++ b/examples/FlexJSTest_SVG/src/GraphicsView.mxml
@@ -36,7 +36,7 @@ limitations under the License.
                                fill.alpha = 0.5;
                                
                                var stroke:SolidColorStroke = new 
SolidColorStroke();
-                               stroke.weight = 2;
+                               stroke.weight = 10;
                                stroke.color = 0x00FF00;
                                stroke.alpha = 0.9;
                                
@@ -49,29 +49,37 @@ limitations under the License.
                                var rect2:Rect = new Rect();
                                fill.color = 0xCC9900;
                                rect2.fill = fill;
+                               stroke.color = 0x333333;
+                               stroke.weight = 5;
                                rect2.stroke = stroke;
-                               rect2.drawRect(200,200,100,300);
+                               rect2.drawRect(100,200,100,300);
                                this.addElement(rect2);
                                
                                var rect3:Rect = new Rect();
-                               fill.color = 0x99CC99;
+                               fill.color = 0xCCCC11;
                                rect3.fill = fill;
+                               stroke.color = 0x0000CC;
+                               stroke.weight = 1;
                                rect3.stroke = stroke;
-                               rect3.drawRect(200,500,200,200);
+                               rect3.drawRect(400,600,200,200);
                                this.addElement(rect3);
                                
                                var rect4:Rect = new Rect();
                                fill.color = 0xAA33EE;
                                rect4.fill = fill;
+                               stroke.color = 0x11C309;
+                               stroke.weight = 2;
                                rect4.stroke = stroke;
-                               rect4.drawRect(200,700,200,100);
+                               rect4.drawRect(500,700,200,100);
                                this.addElement(rect4);
                                
                                var rect5:Rect = new Rect();
                                fill.color = 0x11CC44;
                                rect5.fill = fill;
+                               stroke.color = 0x830011;
+                               stroke.weight = 3;
                                rect5.stroke = stroke;
-                               rect5.drawRect(200,750,50,200);
+                               rect5.drawRect(0,750,50,200);
                                this.addElement(rect5);
                                
                                

Reply via email to