Table Of Contents

Previous topic

PolyPoints

Next topic

TestFrame

This Page

phoenix_title PolySpline

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


class_hierarchy Inheritance Diagram

Inheritance diagram for class PolySpline

Inheritance diagram of PolySpline


super_classes Known Superclasses

lib.plot.PolyLine


method_summary Methods Summary

__init__ Creates PolyLine object
draw  

api Class API



class PolySpline(PolyLine)

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 spline
  • 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)