 wx.lib.floatcanvas.FCObjects.Polygon¶
 wx.lib.floatcanvas.FCObjects.Polygon¶Draws a polygon
Points is a list of 2-tuples, or a NX2 NumPy array of point coordinates. so that Points[N][0] is the x-coordinate of point N and Points[N][1] is the y-coordinate or Points[N,0] is the x-coordinate of point N and Points[N,1] is the y-coordinate for arrays.
 Class Hierarchy¶
 Class Hierarchy¶ Inheritance diagram for class Polygon:
Inheritance diagram for class Polygon:
 Known Superclasses¶
 Known Superclasses¶wx.lib.floatcanvas.FCObjects.DrawObject, wx.lib.floatcanvas.FCObjects.LineAndFillMixin, wx.lib.floatcanvas.FCObjects.PointsObjectMixin
 Methods Summary¶
 Methods Summary¶| Default class constructor. | 
 Class API¶
 Class API¶Draws a polygon
Points is a list of 2-tuples, or a NX2 NumPy array of point coordinates. so that Points[N][0] is the x-coordinate of point N and Points[N][1] is the y-coordinate or Points[N,0] is the x-coordinate of point N and Points[N,1] is the y-coordinate for arrays.
Default class constructor.
Points – start point, takes a 2-tuple, or a (2,) NumPy array of point coordinates
LineColor – see SetColor
LineStyle – see SetLineStyle
LineWidth – see SetLineWidth
FillColor – see SetColor
FillStyle – see SetFillStyle
InForeground (boolean) – should object be in foreground