(
width:number,
height:number,
rotation:number,
tX:number,
tY:number)
| 349 | } |
| 350 | |
| 351 | export function createGradientBox( |
| 352 | width:number, |
| 353 | height:number, |
| 354 | rotation:number, |
| 355 | tX:number, |
| 356 | tY:number):Matrix { |
| 357 | |
| 358 | var m:Matrix = new Matrix(); |
| 359 | // Note: Magic number here is some flash scaling constant |
| 360 | m.createGradientBox(width / 1638.4, |
| 361 | height / 1638.4, |
| 362 | rotation, |
| 363 | tX + width / 2, |
| 364 | tY + height / 2); |
| 365 | return m; |
| 366 | } |
| 367 | |
| 368 | export function createVector3D(x:number = 0, |
| 369 | y:number = 0, |
nothing calls this directly
no test coverage detected