[squeak-dev] PolygonMorph textures

Igor Stasenko siguctua at gmail.com
Thu Dec 16 12:32:49 UTC 2010


On 15 December 2010 23:30, Robin Schreiber <The_robin_hood at gmx.net> wrote:
> Hi everyone,
>
> What I would like to have, is a Polygon Morph that can be painted with a specified texture e.g. a certain image that repeats multiple times so that it covers up the PolygonMorph from inside with a pattern, but still preserve the Polygons outline.

morph := PolygonMorph new.
morph fillStyle: (BitmapFillStyle fromForm: any form you wanna use to fill).

this should do the trick




-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list