Login  Register

Re: FillStyles in borders

Posted by Alain Plantec on Jun 27, 2008; 1:42pm
URL: https://forum.world.st/FillStyles-in-borders-tp134003p134006.html

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@150;
> borderStyle: (FillStyleBorder new
> width: 20;
> fillStyle: ((GradientFillStyle
> colors: {Color red. Color green})
> origin: 0@0;
> direction: 200@150));
> openInHand
>
> Regards, Gary.
>
_______________________________________________
UI mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/ui