diff nodejs/testcase.js @ 570:49e79253b6d3 Android_Skia

Functions of setting/getting stroke width of a shape
author Thinker K.F. Li <thinker@branda.to>
date Wed, 09 Jun 2010 15:10:29 +0800
parents f87a368e847a
children 13b15b7a463b
line wrap: on
line diff
--- a/nodejs/testcase.js	Wed Jun 09 14:44:20 2010 +0800
+++ b/nodejs/testcase.js	Wed Jun 09 15:10:29 2010 +0800
@@ -22,4 +22,8 @@
 sys.puts(paint);
 paint.stroke(path);
 
+sys.puts(path.stroke_width);
+path.stroke_width = 2;
+sys.puts(path.stroke_width);
+
 setTimeout(function() { sys.puts("timeout"); }, 1000);