Color.st
changeset 4533 0ac6babcc37f
parent 4422 b53d63b7a18f
child 4535 9b9d6b7fa221
equal deleted inserted replaced
4532:81d5a57183bd 4533:0ac6babcc37f
  4306      The encoding is: 
  4306      The encoding is: 
  4307         (#Color redPart greenPart bluePart)
  4307         (#Color redPart greenPart bluePart)
  4308     "
  4308     "
  4309 
  4309 
  4310     ^ Array
  4310     ^ Array
  4311         with:self class name asSymbol
  4311         with:self class name
  4312         with:(red * 100.0 / MaxValue)
  4312         with:(red * 100.0 / MaxValue)
  4313         with:(green * 100.0 / MaxValue)
  4313         with:(green * 100.0 / MaxValue)
  4314         with:(blue * 100.0 / MaxValue)
  4314         with:(blue * 100.0 / MaxValue)
  4315 
  4315 
  4316     "
  4316     "
  5351 ! !
  5351 ! !
  5352 
  5352 
  5353 !Color class methodsFor:'documentation'!
  5353 !Color class methodsFor:'documentation'!
  5354 
  5354 
  5355 version
  5355 version
  5356     ^ '$Header: /cvs/stx/stx/libview/Color.st,v 1.197 2005-09-13 22:34:45 cg Exp $'
  5356     ^ '$Header: /cvs/stx/stx/libview/Color.st,v 1.198 2006-07-03 16:10:14 stefan Exp $'
  5357 ! !
  5357 ! !
  5358 
  5358 
  5359 Color initialize!
  5359 Color initialize!