| Package | org.aswing.graphics |
| Class | public class GradientPen |
| Implements | IPen |
See also
| Method | Defined by | ||
|---|---|---|---|
|
GradientPen(thickness:uint, fillType:String, colors:Array, alphas:Array, ratios:Array, matrix:Matrix = null, spreadMethod:String = "pad", interpolationMethod:String = "rgb", focalPointRatio:Number = 0)
| GradientPen | ||
|
getAlphas():Array
| GradientPen | ||
|
getColors():Array
| GradientPen | ||
|
getFillType():String
| GradientPen | ||
|
getFocalPointRatio():Number
| GradientPen | ||
|
getInterpolationMethod():String
| GradientPen | ||
|
getMatrix():Object
| GradientPen | ||
|
getRatios():Array
| GradientPen | ||
|
getSpreadMethod():String
| GradientPen | ||
|
setAlphas(alphas:Array):void
| GradientPen | ||
|
setColors(cs:Array):void
| GradientPen | ||
|
setFillType(t:String):void
| GradientPen | ||
|
setFocalPointRatio(focalPointRatio:Number):void
| GradientPen | ||
|
setInterpolationMethod(interpolationMethod:String):void
| GradientPen | ||
|
setMatrix(m:Matrix):void
| GradientPen | ||
|
setRatios(rs:Array):void
| GradientPen | ||
|
setSpreadMethod(spreadMethod:String):void
| GradientPen | ||
|
setTo(target:Graphics):void
| GradientPen | ||
| GradientPen | () | constructor |
public function GradientPen(thickness:uint, fillType:String, colors:Array, alphas:Array, ratios:Array, matrix:Matrix = null, spreadMethod:String = "pad", interpolationMethod:String = "rgb", focalPointRatio:Number = 0)Parameters
thickness:uint |
|
fillType:String |
|
colors:Array |
|
alphas:Array |
|
ratios:Array |
|
matrix:Matrix (default = null) |
|
spreadMethod:String (default = "pad") |
|
interpolationMethod:String (default = "rgb") |
|
focalPointRatio:Number (default = 0) |
| getAlphas | () | method |
public function getAlphas():Array
Returns
Array |
| getColors | () | method |
public function getColors():Array
Returns
Array |
| getFillType | () | method |
public function getFillType():String
Returns
String |
| getFocalPointRatio | () | method |
public function getFocalPointRatio():Number
Returns
Number |
| getInterpolationMethod | () | method |
public function getInterpolationMethod():String
Returns
String |
| getMatrix | () | method |
public function getMatrix():Object
Returns
Object |
| getRatios | () | method |
public function getRatios():Array
Returns
Array |
| getSpreadMethod | () | method |
public function getSpreadMethod():String
Returns
String |
| setAlphas | () | method |
public function setAlphas(alphas:Array):voidParameters
alphas:Array |
| setColors | () | method |
public function setColors(cs:Array):voidParameters
cs:Array |
| setFillType | () | method |
public function setFillType(t:String):voidParameters
t:String |
| setFocalPointRatio | () | method |
public function setFocalPointRatio(focalPointRatio:Number):voidParameters
focalPointRatio:Number |
| setInterpolationMethod | () | method |
public function setInterpolationMethod(interpolationMethod:String):voidParameters
interpolationMethod:String |
| setMatrix | () | method |
public function setMatrix(m:Matrix):voidParameters
m:Matrix |
| setRatios | () | method |
public function setRatios(rs:Array):voidParameters
rs:Array |
| setSpreadMethod | () | method |
public function setSpreadMethod(spreadMethod:String):voidParameters
spreadMethod:String |
| setTo | () | method |
public function setTo(target:Graphics):voidParameters
target:Graphics |