[squeak-dev] The Trunk: Graphics-eem.376.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jun 1 17:37:03 UTC 2017


Eliot Miranda uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-eem.376.mcz

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

Name: Graphics-eem.376
Author: eem
Time: 1 June 2017, 10:36:17.709391 am
UUID: b6953526-6eff-43a5-8cc6-9ac9c4b37f82
Ancestors: Graphics-eem.375

Add thriceLighter and thriceDarker for more visible gradients.

=============== Diff against Graphics-eem.375 ===============

Item was added:
+ ----- Method: Color>>thriceDarker (in category 'transformations') -----
+ thriceDarker
+ 	"Answer a significantly darker shade of this color."
+ 
+ 	^ self adjustSaturation: 0.09 brightness: -0.22!

Item was added:
+ ----- Method: Color>>thriceLighter (in category 'transformations') -----
+ thriceLighter
+ 	"Answer a significantly lighter shade of this color."
+ 
+ 	^ self adjustSaturation: -0.09 brightness: 0.22!



More information about the Squeak-dev mailing list