Answered
How to the custom color in the Java object?
My code:
<cfset var image = createObject("java","java.awt.image.BufferedImage") />
<cfset var color=createObject("java","java.awt.Color") />
<cfset g = image.getGraphics() />
<cfset g.setColor(color.white) />
In the last row,I want to repalce the "color.white" with #F23ABB,How???
Thanks.
<cfset var image = createObject("java","java.awt.image.BufferedImage") />
<cfset var color=createObject("java","java.awt.Color") />
<cfset g = image.getGraphics() />
<cfset g.setColor(color.white) />
In the last row,I want to repalce the "color.white" with #F23ABB,How???
Thanks.