Home | Trees | Indices | Help |
|
---|
|
object --+ | ??.instance --+ | Stroke
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Variables | |
__instance_size__ = 104
|
Properties | |
color Gets or sets the stroke color. |
|
dash_offset Gets or sets dash offset of this stroke. |
|
dasharray Gets or sets dasharray string of this stroke. |
|
dashoffset Gets or sets dash offset of this stroke. |
|
gamma Gets or sets the gamma of this stroke. |
|
gamma_method Set/get the gamma correction method of this stroke |
|
line_cap Gets or sets the line cap of this stroke. |
|
line_join Returns the line join mode of this stroke. |
|
linecap Gets or sets the linecap of this stroke. |
|
linejoin Returns the linejoin mode of this stroke. |
|
miterlimit Returns the miterlimit 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 |
__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
|
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. (alias of dashoffet)
|
dasharrayGets or sets dasharray string of this stroke. (alternate property to add_dash/get_dashes)
|
dashoffsetGets or sets dash offset of this stroke.
|
gammaGets or sets the gamma of this stroke. The value is a float between 0 and 1.
|
gamma_methodSet/get the gamma correction method of this stroke
|
line_capGets or sets the line cap of this stroke. (alias of linecap)
|
line_joinReturns the line join mode of this stroke. (alias of linejoin)
|
linecapGets or sets the linecap of this stroke.
|
linejoinReturns the linejoin mode of this stroke.
|
miterlimitReturns the miterlimit 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 Thu Aug 23 15:08:15 2012 | http://epydoc.sourceforge.net |