#include <stroke.hpp>
Public Member Functions | |
stroke () | |
stroke (Color const &c, float width=1.0) | |
stroke (stroke const &other) | |
stroke & | operator= (const stroke &rhs) |
void | set_color (const Color &c) |
Color const & | get_color () const |
float | get_width () const |
void | set_width (float w) |
void | set_opacity (float opacity) |
float | get_opacity () const |
void | set_line_cap (line_cap_e line_cap) |
line_cap_e | get_line_cap () const |
void | set_line_join (line_join_e line_join) |
line_join_e | get_line_join () const |
void | add_dash (float dash, float gap) |
bool | has_dash () const |
dash_array const & | get_dash_array () const |
mapnik::stroke::stroke | ( | ) | [inline, explicit] |
mapnik::stroke::stroke | ( | Color const & | c, | |
float | width = 1.0 | |||
) | [inline] |
mapnik::stroke::stroke | ( | stroke const & | other | ) | [inline] |
void mapnik::stroke::add_dash | ( | float | dash, | |
float | gap | |||
) | [inline] |
Color const& mapnik::stroke::get_color | ( | ) | const [inline] |
dash_array const& mapnik::stroke::get_dash_array | ( | ) | const [inline] |
line_cap_e mapnik::stroke::get_line_cap | ( | ) | const [inline] |
line_join_e mapnik::stroke::get_line_join | ( | ) | const [inline] |
float mapnik::stroke::get_opacity | ( | ) | const [inline] |
float mapnik::stroke::get_width | ( | ) | const [inline] |
bool mapnik::stroke::has_dash | ( | ) | const [inline] |
void mapnik::stroke::set_color | ( | const Color & | c | ) | [inline] |
void mapnik::stroke::set_line_cap | ( | line_cap_e | line_cap | ) | [inline] |
void mapnik::stroke::set_line_join | ( | line_join_e | line_join | ) | [inline] |
void mapnik::stroke::set_opacity | ( | float | opacity | ) | [inline] |
void mapnik::stroke::set_width | ( | float | w | ) | [inline] |