[UI] FillStyles in borders

Alain Plantec alain.plantec at univ-brest.fr
Fri Jun 27 13:42:57 UTC 2008


On Friday 27 June 2008 12:28:00 Gary Chambers wrote:
> The lastest (version Pinesoft-Widgets-gvc.324) of Widgets on SqueakSource
> now has support for FillStyleBorder. Should also support use of composite
> fill styles.
I like that. thanks.
Do you think it can be possible to get rid of old border styles (inset, outset ...)
and replace them with FillStyleBorder together with a GradientFillStyle ?
(by having 4 different fillstyles, each one for one side maybe ?).
alain
> 
> Just for example:
> 
> Morph new
> 	extent: 200 at 150;
> 	borderStyle: (FillStyleBorder new
> 		width: 20;
> 		fillStyle: ((GradientFillStyle
> 					colors: {Color red. Color green})
> 					origin: 0 at 0;
> 					direction: 200 at 150));
> 	openInHand
> 
> Regards, Gary.
> 


More information about the UI mailing list