+reflect miterlimit in python

This commit is contained in:
Dane Springmeyer 2012-08-20 19:19:21 -07:00
parent 72f967924e
commit 0dec6c69ca
2 changed files with 6 additions and 0 deletions

View file

@ -43,6 +43,8 @@ TODO - fill these out more:
- geometry closed
- feature api better - context's provide schema support
- Added Stroke `miterlimit` (#786)
- Python: exposed Map `background_image` (and aliased `background` to `background_color`)
- Python: exposed BuildingSymbolizer

View file

@ -106,6 +106,10 @@ void export_stroke ()
&stroke::get_line_join,
&stroke::set_line_join,
"Returns the line join mode of this stroke.\n")
.add_property("miterlimit",
&stroke::get_miterlimit,
&stroke::set_miterlimit,
"Returns the miterlimit mode of this stroke.\n")
// todo consider providing a single get/set property
.def("add_dash",&stroke::add_dash,
(arg("length"),arg("gap")),