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

Public Member Functions | Public Attributes | Static Public Attributes

whyteboard::tools::Polygon Class Reference

Inheritance diagram for whyteboard::tools::Polygon:
Inheritance graph
Collaboration diagram for whyteboard::tools::Polygon:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def anchor
def do_rotate
def double_click
def draw
def draw
def draw_selected
def end_select_action
def find_angle
def find_center
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 preview
def properties
def rescale
def resize
def right_up
def rotate
def save
def sort_handles
def start_select_action

Public Attributes


Static Public Attributes

string hotkey = u"y"
string icon = u"polygon"
tuple name = _("Polygon")
tuple tooltip = _("Draw a polygon")

Detailed Description

Draws a polygon with [x] number of points, each of which can be repositioned
Due to it working different to every other shape it has to do some canvas
manipulation here

Definition at line 283 of file tools.py.

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

Generated by  Doxygen 1.6.0   Back to index