[Pharo-dev] [bloc] shape size?
dionisiydk at gmail.com
Sun Apr 3 06:24:21 EDT 2016
2016-04-02 16:56 GMT+02:00 stepharo <stepharo at free.fr>:
> I want a square morph with a circle or a line at 45 degree inside
> Now I do not get it.
> I thought that I needed to specialize drawOnAthensCanvas: so I did
> BlCell >> drawOnAthensCanvas: aCanvas
> super drawOnAthensCanvas: aCanvas.
> drawShape: (BlShape new
> (BlStrokePaint new
> paint: (BlColorPaint new color:
> (Color blue));
> width: 15);
> path: BlCirclePath new).
Can it be implemented by special kind of BiPath? it will draw rectangle and
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-dev