note that all children of simple_parent have default meta infos set
therefor it is not necessary to provide them for all new classes if they
don't differ (are not non-empty)
Base Classes
|
|
meta_enabled
drawable
interactive
with_line
top_level
|
Methods
|
|
|
|
__init__
|
__init__ (
self,
paper,
coords=(),
package=None,
width=1,
)
|
|
bbox
|
bbox ( self )
returns the bounding box of the object as a list of [x1,y1,x2,y2]
|
|
delete
|
delete ( self )
|
|
draw
|
draw ( self )
|
|
focus
|
focus ( self )
|
|
get_package
|
get_package ( self, doc )
returns a DOM element describing the object in CDML,
doc is the parent document which is used for element creation
(the returned element is not inserted into the document)
|
|
lift
|
lift ( self )
|
|
move
|
move (
self,
dx,
dy,
)
|
|
read_package
|
read_package ( self, pack )
reads the dom element pack and sets internal state according to it
|
|
read_standard_values
|
read_standard_values (
self,
standard,
old_standard=None,
)
|
|
resize
|
resize (
self,
coords,
fix=(),
)
|
|
select
|
select ( self )
|
|
unfocus
|
unfocus ( self )
|
|
unselect
|
unselect ( self )
|
|