 
       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.
 Known Superclasses¶
 Known Superclasses¶wx.lib.floatcanvas.FCObjects.DrawObject, wx.lib.floatcanvas.FCObjects.LineAndFillMixin, wx.lib.floatcanvas.FCObjects.PointsObjectMixin
 Class API¶
 Class API¶Polygon(PointsObjectMixin, LineAndFillMixin, DrawObject)¶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.
__init__(self, Points, LineColor = "Black", LineStyle = "Solid", LineWidth    = 1, FillColor    = None, FillStyle    = "Solid", InForeground = False)¶Default class constructor.
| Parameters: | 
 | 
|---|