Specifies the degree of transparency of drawing functions.
imageSetDrawingTransparency(name, percent)
→ returns void
someImage.setDrawingTransparency(percent)
CF 11+ Create a new image. With the new image write transparent text
TextCharacteristics = { size="20", style="bold", strikethrough="false", underline="false"};
imgObj = imageNew("",152,152,"rgb","149c82");
imgObj.setDrawingTransparency(50);
imgObj.drawText("CFDocs",20,50,TextCharacteristics);
cfimage(action="writeToBrowser", source=imgObj);
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.