equal
deleted
inserted
replaced
4496 ^ red + green + blue |
4496 ^ red + green + blue |
4497 ! ! |
4497 ! ! |
4498 |
4498 |
4499 !Color methodsFor:'converting'! |
4499 !Color methodsFor:'converting'! |
4500 |
4500 |
|
4501 asByteArray |
|
4502 ^ByteArray |
|
4503 with: self redByte |
|
4504 with: self greenByte |
|
4505 with: self blueByte |
|
4506 ! |
|
4507 |
4501 fromLiteralArrayEncoding:encoding |
4508 fromLiteralArrayEncoding:encoding |
4502 "read my values from an encoding. |
4509 "read my values from an encoding. |
4503 The encoding is supposed to be either of the form: |
4510 The encoding is supposed to be either of the form: |
4504 (#Color redPart greenPart bluePart) |
4511 (#Color redPart greenPart bluePart) |
4505 or: |
4512 or: |
5621 ! ! |
5628 ! ! |
5622 |
5629 |
5623 !Color class methodsFor:'documentation'! |
5630 !Color class methodsFor:'documentation'! |
5624 |
5631 |
5625 version |
5632 version |
5626 ^ '$Header: /cvs/stx/stx/libview/Color.st,v 1.238 2015-02-26 22:15:30 cg Exp $' |
5633 ^ '$Header: /cvs/stx/stx/libview/Color.st,v 1.239 2015-03-25 18:26:02 cg Exp $' |
5627 ! |
5634 ! |
5628 |
5635 |
5629 version_CVS |
5636 version_CVS |
5630 ^ '$Header: /cvs/stx/stx/libview/Color.st,v 1.238 2015-02-26 22:15:30 cg Exp $' |
5637 ^ '$Header: /cvs/stx/stx/libview/Color.st,v 1.239 2015-03-25 18:26:02 cg Exp $' |
5631 ! ! |
5638 ! ! |
5632 |
5639 |
5633 |
5640 |
5634 Color initialize! |
5641 Color initialize! |