Skip to content

Commit

Permalink
imageFilter: flare, support centerX and centerY params
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jan 29, 2025
1 parent 7c4428d commit 2b98cdf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ public String toString() {
Object o;
CFMLEngine eng = CFMLEngineFactory.getInstance();
if((o=parameters.removeEL(eng.getCreationUtil().createKey("Radius")))!=null)setRadius(ImageFilterUtil.toFloatValue(o,"Radius"));
//if((o=parameters.removeEL(eng.getCreationUtil().createKey("Centre")))!=null)setCentre(ImageFilterUtil.toPoint2D(o,"Centre"));
if((o=parameters.removeEL(eng.getCreationUtil().createKey("CentreX")))!=null)setCentreY(ImageFilterUtil.toFloatValue(o,"CentreX"));
if((o=parameters.removeEL(eng.getCreationUtil().createKey("CentreY")))!=null)setCentreX(ImageFilterUtil.toFloatValue(o,"CentreY"));
if((o=parameters.removeEL(eng.getCreationUtil().createKey("RingWidth")))!=null)setRingWidth(ImageFilterUtil.toFloatValue(o,"RingWidth"));
if((o=parameters.removeEL(eng.getCreationUtil().createKey("BaseAmount")))!=null)setBaseAmount(ImageFilterUtil.toFloatValue(o,"BaseAmount"));
if((o=parameters.removeEL(eng.getCreationUtil().createKey("RingAmount")))!=null)setRingAmount(ImageFilterUtil.toFloatValue(o,"RingAmount"));
Expand Down

0 comments on commit 2b98cdf

Please sign in to comment.