class org.aswing.graphics.GradientPen

GradientPen to draw Gradient lines. @see org.aswing.graphics.Graphics2D @see org.aswing.graphics.IPen @see org.aswing.graphics.Pen @see http://livedocs.macromedia.com/flex/2/langref/flash/display/Graphics.html#lineGradientStyle() @author n0rthwood

Instance Fields

function new(pen:Pen, fillType:GradientType, colors:Array<Int>, alphas:Array<Dynamic>, ratios:Array<Dynamic>, ?matrix:Matrix = null, ?spreadMethod:SpreadMethod = null, ?interpolationMethod:InterpolationMethod = null, ?focalPointRatio:Float = 0): Void

function getAlphas(): Array<Dynamic>

function getColors(): Array<Int>

function getMatrix(): Dynamic

function getRatios(): Array<Dynamic>

function setAlphas(alphas:Array<Dynamic>): Void

function setColors(cs:Array<Int>): Void

function setFocalPointRatio(focalPointRatio:Float): Void

function setInterpolationMethod(interpolationMethod:InterpolationMethod): Void

function setMatrix(m:Matrix): Void

function setRatios(rs:Array<Dynamic>): Void

function setSpreadMethod(spreadMethod:SpreadMethod): Void

function setTo(target:Graphics): Void