An encapsulation of code generation for a filters on a graphical stroke.
FilterCodeGenerator | An encapsulation of code generation for a filters on a graphical stroke. |
Code generation | |
generateFilterCode | Generates script code for the blur, bevel and drop shadow filters on <shape>. |
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>.
filter | filter object |
lName | asset base name |
tempName | object name |
indent | string with spaces to indent each line of code |
codeStyle | dynamic object with properties describing the desired code style |
Generated script code string
Generates script code for the blur, bevel and drop shadow filters on shape.
public static function generateFilterCode( filter: StrokeFilter, lName: String, tempName: String, indent: String, codeStyle: Object ):String