FilterCodeGenerator

An encapsulation of code generation for a filters on a graphical stroke.

Summary
FilterCodeGeneratorAn encapsulation of code generation for a filters on a graphical stroke.
Code generation
generateFilterCodeGenerates script code for the blur, bevel and drop shadow filters on <shape>.

Code generation

generateFilterCode

public static function generateFilterCode(filter: StrokeFilter,
lName: String,
tempName: String,
indent: String,
codeStyle: Object):String

Generates script code for the blur, bevel and drop shadow filters on <shape>.

Parameters

filterfilter object
lNameasset base name
tempNameobject name
indentstring with spaces to indent each line of code
codeStyledynamic object with properties describing the desired code style

Returns

Generated script code string

public static function generateFilterCode(filter: StrokeFilter,
lName: String,
tempName: String,
indent: String,
codeStyle: Object):String
Generates script code for the blur, bevel and drop shadow filters on shape.
Close