Classes |
Arrow |
Arrow(XY, # coords of origin of arrow (x,y)
Length, # length of arrow in pixels
theta, # angle of arrow in degrees: zero is straight up
# angle is to the right
LineColor = "Black",
LineStyle = "Solid",
LineWidth = 1,
ArrowHeadSize = 4,
ArrowHeadAngle = 45,
InForeground = False):
It will draw an arrow , starting at the point, (X,Y) pointing in
direction, theta. |
Bitmap |
This class creates a bitmap object, placed at the coordinates,
x,y. |
Circle |
|
ColorOnlyMixin |
Mixin class for objects that have just one color, rather than a fill
color and line color |
DrawObject |
This is the base class for all the objects that can be drawn. |
Ellipse |
|
FloatCanvas |
FloatCanvas.py |
Line |
The Line class takes a list of 2-tuples, or a NX2 NumPy Float array
of point coordinates. |
LineAndFillMixin |
Mixin class for objects that have both a line and a fill color and
style. |
LineOnlyMixin |
Mixin class for objects that have just one color, rather than a fill
color and line color |
Point |
The Point class takes a 2-tuple, or a (2,) NumPy array of point
coordinates. |
PointSet |
The PointSet class takes a list of 2-tuples, or a NX2 NumPy array of
point coordinates. |
PointsObjectMixin |
This is a mixin class that provides some methods suitable for use
with objects that have a set of (x,y) coordinate pairs. |
Polygon |
The Polygon class takes a list of 2-tuples, or a NX2 NumPy array of
point coordinates. |
Rectangle |
|
RectEllipse |
|
ScaledBitmap |
This class creates a bitmap object, placed at the coordinates, XY,
of Height, H, in World coorsinates. |
ScaledText |
This class creates a text object that is scaled when zoomed. |
ScaledTextBox |
This class creates a TextBox object that is scaled when zoomed. |
SquarePoint |
The SquarePoint class takes a 2-tuple, or a (2,) NumPy array of point
coordinates. |
Text |
This class creates a text object, placed at the coordinates,
x,y. |
TextObjectMixin |
A mix in class that holds attributes and methods that are needed by
the Text objects |
XYObjectMixin |
This is a mixin class that provides some methods suitable for use
with objects that have a single (x,y) coordinate pair. |
Function Summary |
|
EVT_LEFT_DCLICK(window,
function)
|
|
EVT_LEFT_DOWN(window,
function)
|
|
EVT_LEFT_UP(window,
function)
|
|
EVT_MIDDLE_DCLICK(window,
function)
|
|
EVT_MIDDLE_DOWN(window,
function)
|
|
EVT_MIDDLE_UP(window,
function)
|
|
EVT_MOTION(window,
function)
|
|
EVT_MOUSEWHEEL(window,
function)
|
|
EVT_RIGHT_DCLICK(window,
function)
|
|
EVT_RIGHT_DOWN(window,
function)
|
|
EVT_RIGHT_UP(window,
function)
|