( l )
| 118 | return self.__hash__() |
| 119 | |
| 120 | def fromLong( l ): |
| 121 | b = l & 0xff |
| 122 | l = l >> 8 |
| 123 | g = l & 0xff |
| 124 | l = l >> 8 |
| 125 | r = l & 0xff |
| 126 | return Color( r, g, b ) |
| 127 | fromLong = staticmethod(fromLong) |
| 128 | |
| 129 | # define class constants for common colors |
no test coverage detected