Home | Trees | Indices | Help |
|
---|
|
The Color field returns and accepts tuples of the form (r,g,b,a) where r,g,b,a are integers between 0 and 255. The color is stored as an hexadecimal string of the form AARRGGBB into the database, where AA is the transparency, RR is red, GG is green BB is blue:
class MovieType(Entity): color = Field(camelot.types.Color())
The colors are stored in the database as strings
Nested Classes | |
impl A variable length Unicode string. |
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Properties | |
Inherited from |
Method Details |
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jun 12 15:41:37 2010 | http://epydoc.sourceforge.net |