OZONE Asylum
Forums
DHTML/Javascript
Gradient Between 4 Vertices of a Square?
This page's ID:
30940
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
So the gradient would be kind of like this? [img]http://img16.imageshack.us/img16/9229/ironwallaby4pointcanvas.png[/img] I suppose you could try three gradients and a normal rectangle, making use of alpha transparency... You could start by filling the whole rectangle with the upper left vertex's color. Then, use a diagonal gradient from the upper-right to the lower-left vertices, with the color starting as the upper-right color and ending as rgba(0,0,0,0). You could use a similar technique for the remaining two colors. Not sure if the colors would blend perfectly like that, but they would blend. ---------------------- [url=http://www.ozoneasylum.com/30926][img]http://img19.imageshack.us/img19/268/cellu.gif[/img][/url][url=http://davidjcobb.deviantart.com/][img]http://img262.imageshack.us/img262/428/24464470.gif[/img][/url][url=http://getfirefox.com/][img]http://img515.imageshack.us/img515/6336/25338231.gif[/img][/url][img]http://img4.imageshack.us/img4/2163/end.gif[/img]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »