[Pkg] The Trunk: Graphics-mt.448.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Apr 13 15:29:19 UTC 2021


Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-mt.448.mcz

==================== Summary ====================

Name: Graphics-mt.448
Author: mt
Time: 13 April 2021, 5:29:12.533381 pm
UUID: c614cbd7-dfc4-e94f-a47a-145e43d22a16
Ancestors: Graphics-mt.447, Graphics-ct.421

Merges Graphics-ct.421

Note that this message aligns with #atRandom, #atRandom:, and #random in other object kinds.

=============== Diff against Graphics-mt.447 ===============

Item was added:
+ ----- Method: Rectangle>>randomPoint (in category 'random') -----
+ randomPoint
+ 
+ 	^ self randomPoint: ThreadSafeRandom value!

Item was added:
+ ----- Method: Rectangle>>randomPoint: (in category 'random') -----
+ randomPoint: aGenerator
+ 	"Answers a random point that lies within the receiver."
+ 
+ 	^ self pointAtFraction: aGenerator next @ aGenerator next!



More information about the Packages mailing list