Adobe FLEX 2-PROGRAMMING ACTIONSCRIPT 3.0 Manual page 426

Programming actionscript 3.0
Table of Contents

Advertisement

The following examples show gradients in which the
createGradientBox()
width = 100;
height = 100;
rotation = 0;
tx = 0;
ty = 0;
width = 100;
height = 100;
rotation = Math.PI/4; // 45°
tx = 0;
ty = 0;
width = 100;
height = 100;
rotation = Math.PI/2; // 90°
tx = 0;
ty = 0;
426
Working with Geometry
method differs as indicated, but all other settings stay the same:
parameter of the
rotation

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex

Table of Contents