expose mapnik.Color.packed to get unsigned rgba value
This commit is contained in:
parent
8722def984
commit
ac961feb64
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue