ref="../../openfl/display/GradientType.html#LINEAR">GradientType.LINEAR</a></code> or
<code><a href="../../openfl/display/GradientType.html#RADIAL">GradientType.RADIAL</a></code>.</p></td></tr><tr><th style="width:25%;"><code>matrix</code></th><td><p>A transformation matrix as defined by the
openfl.geom.Matrix class. The
openfl.geom.Matrix class includes a
<code>createGradientBox()</code> method, which lets
you conveniently set up the matrix for use
with the <code>beginGradientFill()</code> method.</p></td>