Table Of Contents

Previous topic

PolyLine

Next topic

PolyPoints

This Page

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

Inheritance diagram of PolyMarker


super_classes Known Superclasses

lib.plot.PolyPoints


method_summary Methods Summary

__init__ Creates PolyMarker object
draw  
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.


Methods



__init__(self, points, **attr)

Creates PolyMarker object

Parameters:
  • points – sequence (array, tuple or list) of (x,y) points
  • 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’



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


getSymExtent(self, printerScale)

Width and Height of Marker