>  Is that a better explanation?

Yep. If you think about how the border effect is created, the behavior makes 
sense. Basically you are working with a glyph, or a shape of the text. Stroking 
affects how that shape is filled. It does not change the shape itself. So the 
thickness has to move inward (so to speak).

I am no artist. But I think the effect you are looking for is often achieved by 
overlaying a smaller shape over a slightly larger one. Similar to creating a 
shadow effect.  It should be possible to apply the same concept to text. But I 
would have to look around to see if that is the right way to approach it.


Btw: It goes without saying if there is an existing library that supports text 
borders, by all means use it ;-) No reason to reinvent the wheel. But it is fun 
talking about how all this stuff works internally  ;-)


-Lei

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349978
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to