Download this file
16 lines (12 with data), 376 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 | import numpy
from enthought.traits.api import HasTraits, Array
import mtraits
class Path(HasTraits):
"""
The path is an object that talks to the backends, and is an
intermediary between the high level path artists like Line and
Polygon, and the backend renderer
"""
strokecolor = mtraits.color('white')
p = Path()
print 'strokecolor', p.strokecolor
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.