Home | Trees | Indices | Help |
|
---|
|
object --+ | ??.instance --+ | Stroke
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Variables | |
__instance_size__ = 88
|
|
__safe_for_unpickling__ = True
|
Properties | |
color Gets or sets the stroke color. |
|
dash_offset Gets or sets dash offset of this stroke. |
|
gamma Gets or sets the gamma of this stroke. |
|
line_cap Gets or sets the line cap of this stroke. |
|
line_join Returns the line join mode of this stroke. |
|
opacity Gets or sets the opacity of this stroke. |
|
width Gets or sets the stroke width in pixels. |
|
Inherited from |
Method Details |
__getinitargs__( (Stroke)arg1) -> tuple : C++ signature : boost::python::tuple __getinitargs__(mapnik::stroke) |
__getstate__( (Stroke)arg1) -> tuple : C++ signature : boost::python::tuple __getstate__(mapnik::stroke) |
__init__( (object)arg1) -> None : Creates a new default black stroke with the width of 1. C++ signature : void __init__(_object*) __init__( (object)arg1, (Color)color, (float)width) -> None : Creates a new stroke object with a specified color and width. C++ signature : void __init__(_object*,mapnik::color,float)
|
helper for pickle
|
__setstate__( (Stroke)arg1, (tuple)arg2) -> None : C++ signature : void __setstate__(mapnik::stroke {lvalue},boost::python::tuple) |
add_dash( (Stroke)arg1, (float)length, (float)gap) -> None : Adds a dash segment to the dash patterns of this stroke. C++ signature : void add_dash(mapnik::stroke {lvalue},double,double) |
get_dashes( (Stroke)arg1) -> list : Returns the list of dash segments for this stroke. C++ signature : boost::python::list get_dashes(mapnik::stroke) |
Property Details |
colorGets or sets the stroke color. Returns a new Color object on retrieval.
|
dash_offsetGets or sets dash offset of this stroke.
|
gammaGets or sets the gamma of this stroke. The value is a float between 0 and 1.
|
line_capGets or sets the line cap of this stroke.
|
line_joinReturns the line join mode of this stroke.
|
opacityGets or sets the opacity of this stroke. The value is a float between 0 and 1.
|
widthGets or sets the stroke width in pixels.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 24 13:21:24 2012 | http://epydoc.sourceforge.net |