expose mapnik.Color.packed to get unsigned rgba value

This commit is contained in:
Dane Springmeyer 2013-10-01 21:30:49 -07:00
parent 8722def984
commit ac961feb64

View file

@ -83,6 +83,7 @@ void export_color ()
.def(self != self)
.def_pickle(color_pickle_suite())
.def("__str__",&color::to_string)
.def("packed",&color::rgba)
.def("to_hex_string",&color::to_hex_string,
"Returns the hexadecimal representation of this color.\n"
"\n"