GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Table of Contents
  • wx.lib.plot.polyobjects.PolySpline
  • Show Source
  • index
  • modules
  • next
  • previous
  • Home
  • Gallery
  • wx.lib
  • wx.lib.plot
  • wx.lib.plot.polyobjects

This view

  • Original page
  • New address

GeezerVison is showing docs.wxpython.org — wx.lib.plot.polyobjects.PolySpline — wxPython 4.3.2 Docs

phoenix_title wx.lib.plot.polyobjects.PolySpline¶

Creates PolySpline object

param points:

The points that make up the spline

type points:

list of [x, y] values

param **attr:

keyword attributes

Keyword and Default

Description

Type

colour='black'

Line color

wx.Colour

width=1

Line width

float

style=wx.PENSTYLE_SOLID

Line style

wx.PenStyle

legend=''

Legend string

str

Warning

All methods except __init__ are private.


class_hierarchy Class Hierarchy¶

Inheritance diagram for class PolySpline:

Inheritance diagram of PolySpline


super_classes Known Superclasses¶

wx.lib.plot.polyobjects.PolyLine


method_summary Methods Summary¶

__init__

Initialize self. See help(type(self)) for accurate signature.

draw

Draw the spline


api Class API¶

class PolySpline(PolyLine)¶

Creates PolySpline object

Parameters:
  • points (list of [x, y] values) – The points that make up the spline

  • **attr – keyword attributes

Keyword and Default

Description

Type

colour='black'

Line color

wx.Colour

width=1

Line width

float

style=wx.PENSTYLE_SOLID

Line style

wx.PenStyle

legend=''

Legend string

str

Warning

All methods except __init__ are private.


Methods¶

__init__(self, points, \*\*attr)¶

Initialize self. See help(type(self)) for accurate signature.



draw(self, dc, printerScale, coord=None)¶

Draw the spline

© Copyright 2012-2026, The wxPython Team. Created using Sphinx 9.1.0 and the python-docs-theme.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.