I have just finished some code, that will allow you to create an inner glow inside an Area.
I would be happy if you would try it and tell me what you think.
I also provides a test, that draws an ellipse and a star, with inner glows.
It uses JH Labs image API to create the glow effect, which can be gotten here: http://www.jhlabs.com/ip/filters/index.html
I would be happy if you would try it and tell me what you think.
I think it won't compile because it calls a Glow constructor with 3 arguments, that doesn't exist in the code you posted.
God is in the details...
M. van der Rohe
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
Am I missing something, or is it supposed to just display 2 objects with an internal shading gradient?
Looks OK, although I'm pretty sure I've seen similar graphics using RadialGradientPaint.
Don't ask what it means, but rather how it is used...
L. Wittgenstein
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
what? I gave no paint method. What have you been smoking?
Mine gives a inner glow, no matter which shape you use, which is not the same.
Not the same as what?
When a programming language is created that allows programmers to program in simple English, it will be discovered that programmers cannot speak English...
Anon.
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
It must be you that has been smoking weed.
As i read that post, you mensions RadialGradientPaint, which is a paint, right?
It's a class that implements the Paint interface. Did you follow the link?
It is not a paint, but a glow.
Why don't you explain what you mean by a 'paint' and a 'glow' in this context and what the significant differences are between them. I ran the code you posted and saw what looked like very slight radial shading gradients in two shapes.
The limits of your language are the limits of your world...
L. Wittgenstein
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
It's a class that implements the Paint interface. Did you follow the link?
Why don't you explain what you mean by a 'paint' and a 'glow' in this context and what the significant differences are between them. I ran the code you posted and saw what looked like very slight radial shading gradients in two shapes.
The limits of your language are the limits of your world...
L. Wittgenstein
Yes i did follow the link, thats why i say RadialGradientPaint is a paint, a gradient paint that is painted in a circle.
What i have provided, the Glow, is like in Photoshop, where you defines an inner glow to a shape/graphic.
OK. The terminology is still opaque to me (maybe it's a PhotoShop thing?).
I guess the demo doesn't show the 'glow' to best effect.
Don't ask what it means, but rather how it is used...
L. Wittgenstein
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
Bookmarks