Changeset 3302 for lang/legacy-actionscript/as2draw/U.as
- Timestamp:
- 12/19/07 04:35:09 (13 months ago)
- Files:
-
- 1 modified
-
lang/legacy-actionscript/as2draw/U.as (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/legacy-actionscript/as2draw/U.as
r3300 r3302 1 1 class U /*Utility*/ 2 2 { 3 public static function rect(g:MovieClip, x:Number, y:Number, w:Number, h:Number )3 public static function rect(g:MovieClip, x:Number, y:Number, w:Number, h:Number, close) 4 4 { 5 5 g.moveTo(x , y ); … … 7 7 g.lineTo(x+w, y+h); 8 8 g.lineTo(x , y+h); 9 if (close) 10 g.lineTo(x, y); 9 11 } 10 12 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)