PolyLine
Class to define line type and style
- All methods except __init__ are private.
Inheritance Diagram
Inheritance diagram for class PolyLine
Methods Summary
Class API
-
class PolyLine(PolyPoints)
Class to define line type and style
- All methods except __init__ are private.
Methods
-
__init__(self, points, **attr)
Creates PolyLine object
Parameters: |
- points – sequence (array, tuple or list) of (x,y) points making up line
- attr – keyword attributes, default to:
‘colour’= ‘black’ |
wx.Pen Colour any wx.NamedColour |
‘width’= 1 |
Pen width |
‘style’= wx.SOLID |
wx.Pen style |
‘legend’= ‘’ |
Line Legend to display |
|
-
draw(self, dc, printerScale, coord= None)
-
getSymExtent(self, printerScale)
Width and Height of Marker