enable.primitives.polygon module¶
A filled polygon component
-
class
enable.primitives.polygon.
Polygon
(**traits)[source]¶ Bases:
enable.component.Component
A filled polygon component.
-
colorchip_map
= {'alt_color': 'border_color', 'color': 'color'}¶
-
-
class
enable.primitives.polygon.
PolygonModel
[source]¶ Bases:
traits.has_traits.HasTraits
The data model for a Polygon.