wx.lib.plot.polyobjects.PolyMarker¶Creates a PolyMarker object.
| param points: | The marker coordinates. |
|---|---|
| type points: | list of [x, y] values |
| param **attr: | keyword attributes |
| Keyword and Default | Description | Type |
|---|---|---|
marker='circle' |
see below | str |
size=2 |
Marker size | float |
colour='black' |
Outline color | wx.Colour |
width=1 |
Outline width | float |
style=wx.PENSTYLE_SOLID |
Outline style | wx.PenStyle |
fillcolour=colour |
fill color | wx.Colour |
fillstyle=wx.BRUSHSTYLE_SOLID |
fill style | wx.BrushStyle |
legend='' |
Legend string | str |
| Marker | Description |
|---|---|
'circle' |
A circle of diameter size |
'dot' |
A dot. Does not have a size. |
'square' |
A square with side length size |
'triangle' |
An upward-pointed triangle |
'triangle_down' |
A downward-pointed triangle |
'cross' |
An “X” shape |
'plus' |
A “+” shape |
Warning
All methods except __init__ are private.
Class API¶PolyMarker(PolyPoints)¶Creates a PolyMarker object.
| Parameters: |
|
|---|
| Keyword and Default | Description | Type |
|---|---|---|
marker='circle' |
see below | str |
size=2 |
Marker size | float |
colour='black' |
Outline color | wx.Colour |
width=1 |
Outline width | float |
style=wx.PENSTYLE_SOLID |
Outline style | wx.PenStyle |
fillcolour=colour |
fill color | wx.Colour |
fillstyle=wx.BRUSHSTYLE_SOLID |
fill style | wx.BrushStyle |
legend='' |
Legend string | str |
| Marker | Description |
|---|---|
'circle' |
A circle of diameter size |
'dot' |
A dot. Does not have a size. |
'square' |
A square with side length size |
'triangle' |
An upward-pointed triangle |
'triangle_down' |
A downward-pointed triangle |
'cross' |
An “X” shape |
'plus' |
A “+” shape |
Warning
All methods except __init__ are private.
__init__(self, points, **attr)¶draw(self, dc, printerScale, coord=None)¶Draw the points
getSymExtent(self, printerScale)¶Width and Height of Marker