Logo Search packages:      
Sourcecode: whyteboard version File versions  Download package

Public Member Functions | Public Attributes | Static Public Attributes

whyteboard::tools::Line Class Reference

Inheritance diagram for whyteboard::tools::Line:
Inheritance graph
[legend]
Collaboration diagram for whyteboard::tools::Line:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def anchor
def double_click
def draw
def draw
def draw_selected
def end_select_action
def find_edges
def get_args
def get_handles
def handle_hit_test
def hit_test
def left_down
def left_up
def load
def make_pen
def motion
def move
def offset
def point_distance
def preview
def properties
def resize
def right_up
def save
def sort_handles
def start_select_action

Public Attributes

 background
 brush
 canvas
 colour
 cursor
 drawing
 edges
 handles
 join
 selected
 thickness
 x
 x2
 y
 y2

Static Public Attributes

string hotkey = u"l"
string icon = u"line"
tuple name = _("Line")
tuple tooltip = _("Draw a straight line")

Detailed Description

Draws a line - methods for its own handles, resizing/moving and line length

Definition at line 907 of file tools.py.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index