MCPcopy Index your code
hub / github.com/jabbany/CommentCoreLibrary / createGradientBox

Function createGradientBox

src/scripting/api/Display/Matrix.ts:351–366  ·  view source on GitHub ↗
(
    width:number,
    height:number,
    rotation:number,
    tX:number,
    tY:number)

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 1

createGradientBoxMethod · 0.95

Tested by

no test coverage detected