used to draw rectangle around an object with hanldes on sides and in corners;
provides user interaction for resizing, moving etc.
Methods
|
|
|
|
__init__
|
__init__ (
self,
paper,
obj,
resize_event=None,
move_event=None,
coords=(),
)
|
|
delete
|
delete ( self )
|
|
drag
|
drag (
self,
x,
y,
fix=(),
)
|
|
draw
|
draw ( self )
|
|
focus
|
focus ( self, item=None )
|
|
get_cursor
|
get_cursor (
self,
x,
y,
)
|
|
get_items
|
get_items ( self )
|
|
lift
|
lift ( self )
|
|
move
|
move (
self,
dx,
dy,
)
|
|
redraw
|
redraw ( self )
|
|
set_coords
|
set_coords ( self, coords )
|
|
unfocus
|
unfocus ( self )
|
|