| 
        
            | 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 )
 |  
            |  | delete_point |  
        | 
delete_point ( self,  pnt )
 |  
            |  | draw |  
        | 
draw ( 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) |  
            |  | is_empty_or_single_point |  
        | 
is_empty_or_single_point ( self )
 |  
            |  | 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 |  
            |  | redraw |  
        | 
redraw ( self )
 |  
            |  | select |  
        | 
select ( self )
 |  
            |  | unselect |  
        | 
unselect ( self )
 |  |