Table Of Contents

Previous topic

PlotPrintout

Next topic

PolyMarker

This Page

phoenix_title PolyLine

Class to define line type and style - All methods except __init__ are private.


class_hierarchy Inheritance Diagram

Inheritance diagram for class PolyLine

Inheritance diagram of PolyLine


super_classes Known Superclasses

lib.plot.PolyPoints


method_summary Methods Summary

__init__ Creates PolyLine object
draw  
getSymExtent Width and Height of Marker

api 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