.. include:: headings.inc .. currentmodule:: lib.plot .. highlight:: python .. _lib.plot.PolyMarker: ========================================================================================================================================== |phoenix_title| **PolyMarker** ========================================================================================================================================== Class to define marker type and style - All methods except __init__ are private. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **PolyMarker** .. raw:: html

Inheritance diagram of PolyMarker

| |super_classes| Known Superclasses ================================== :class:`lib.plot.PolyPoints` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.plot.PolyMarker.__init__` Creates PolyMarker object :meth:`~lib.plot.PolyMarker.draw` :meth:`~lib.plot.PolyMarker.getSymExtent` Width and Height of Marker ================================================================================ ================================================================================ | |api| Class API =============== .. class:: PolyMarker(PolyPoints) Class to define marker type and style - All methods except __init__ are private. .. method:: __init__(self, points, \*\*attr) Creates PolyMarker object :param `points`: sequence (array, tuple or list) of (x,y) points :keyword `attr`: keyword attributes, default to: ============================ ================================ 'colour'= 'black' wx.Pen Colour any wx.NamedColour 'width'= 1 Pen width 'size'= 2 Marker size 'fillcolour'= same as colour wx.Brush Colour any wx.NamedColour 'fillstyle'= wx.SOLID wx.Brush fill style (use wx.TRANSPARENT for no fill) 'style'= wx.SOLID wx.Pen style 'marker'= 'circle' Marker shape 'legend'= '' Line Legend to display ============================ ================================ Marker Shapes: - 'circle' - 'dot' - 'square' - 'triangle' - 'triangle_down' - 'cross' - 'plus' .. method:: draw(self, dc, printerScale, coord= None) .. method:: getSymExtent(self, printerScale) Width and Height of Marker