Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Rendering test

Tests the corner case when a shape touches the top and/or left border of the window.
  • Loading branch information...
commit 278195293535a09dfa044e3a837981d6e34ae71b 1 parent aedbf3e
remic authored August 17, 2011

Showing 1 changed file with 20 additions and 0 deletions. Show diff stats Hide diff stats

  1. 20  tests/other/rendering_Clipping.as
20  tests/other/rendering_Clipping.as
... ...
@@ -0,0 +1,20 @@
  1
+package {
  2
+
  3
+	import flash.display.Sprite;
  4
+
  5
+	public class rendering_Clipping extends Sprite {
  6
+		
  7
+		public function rendering_Clipping() {
  8
+			var circle:Sprite = new Sprite();
  9
+			circle.graphics.beginFill(0x00FF00);
  10
+			//Rendering corner cases
  11
+			circle.graphics.drawCircle(0,80,40);
  12
+			circle.graphics.drawCircle(80,0,40);
  13
+			circle.graphics.drawCircle(0,0,40);
  14
+			addChild(circle);
  15
+		}
  16
+		
  17
+
  18
+	}
  19
+
  20
+}

0 notes on commit 2781952

Please sign in to comment.
Something went wrong with that request. Please try again.