| Method Summary |
| PyShape |
__init__(self,
can)
|
| |
__repr__(self)
|
| |
AddLine(self,
line,
other,
attachFrom,
attachTo,
positionFrom,
positionTo)
|
| |
AddRegion(self,
region)
|
| |
AddText(self,
string)
|
| |
AddToCanvas(self,
the_canvas,
addAfter)
|
| bool |
AncestorSelected(self)
|
| |
ApplyAttachmentOrdering(self,
linesToSort)
|
| |
AssignNewIds(self)
|
| |
Attach(self,
can)
|
| bool |
AttachmentIsValid(self,
attachment)
|
| bool |
AttachmentSortTest(self,
attachmentPoint,
pt1,
pt2)
|
| |
base_OnBeginDragLeft(self,
x,
y,
keys,
attachment)
|
| |
base_OnBeginDragRight(self,
x,
y,
keys,
attachment)
|
| |
base_OnBeginSize(self,
w,
h)
|
| |
base_OnDelete(self)
|
| |
base_OnDragLeft(self,
draw,
x,
y,
keys,
attachment)
|
| |
base_OnDragRight(self,
draw,
x,
y,
keys,
attachment)
|
| |
base_OnDraw(self,
dc)
|
| |
base_OnDrawBranches(self,
dc,
erase)
|
| |
base_OnDrawContents(self,
dc)
|
| |
base_OnDrawControlPoints(self,
dc)
|
| |
base_OnDrawOutline(self,
dc,
x,
y,
w,
h)
|
| |
base_OnEndDragLeft(self,
x,
y,
keys,
attachment)
|
| |
base_OnEndDragRight(self,
x,
y,
keys,
attachment)
|
| |
base_OnEndSize(self,
w,
h)
|
| |
base_OnErase(self,
dc)
|
| |
base_OnEraseContents(self,
dc)
|
| |
base_OnEraseControlPoints(self,
dc)
|
| |
base_OnHighlight(self,
dc)
|
| |
base_OnLeftClick(self,
x,
y,
keys,
attachment)
|
| |
base_OnLeftDoubleClick(self,
x,
y,
keys,
attachment)
|
| |
base_OnMoveLink(self,
dc,
moveControlPoints)
|
| |
base_OnMoveLinks(self,
dc)
|
| |
base_OnMovePost(self,
dc,
x,
y,
old_x,
old_y,
display)
|
| bool |
base_OnMovePre(self,
dc,
x,
y,
old_x,
old_y,
display)
|
| |
base_OnRightClick(self,
x,
y,
keys,
attachment)
|
| |
base_OnSize(self,
x,
y)
|
| |
base_OnSizingBeginDragLeft(self,
pt,
x,
y,
keys,
attachment)
|
| |
base_OnSizingDragLeft(self,
pt,
draw,
x,
y,
keys,
attachment)
|
| |
base_OnSizingEndDragLeft(self,
pt,
x,
y,
keys,
attachment)
|
| RealPoint |
CalcSimpleAttachment(self,
pt1,
pt2,
nth,
noArcs,
line)
|
| |
CalculateSize(self)
|
| |
ClearAttachments(self)
|
| |
ClearPointList(self,
list)
|
| |
ClearRegions(self)
|
| |
ClearText(self,
regionId)
|
| bool |
Constrain(self)
|
| |
Copy(self,
copy)
|
| |
CopyWithHandler(self,
copy)
|
| PyShape |
CreateNewCopy(self,
resetMapping,
recompute)
|
| |
DeleteControlPoints(self,
dc)
|
| |
Detach(self)
|
| bool |
Draggable(self)
|
| |
Draw(self,
dc)
|
| |
DrawContents(self,
dc)
|
| |
DrawLinks(self,
dc,
attachment,
recurse)
|
| |
Erase(self,
dc)
|
| |
EraseContents(self,
dc)
|
| |
EraseLinks(self,
dc,
attachment,
recurse)
|
| PyShape |
FindRegion(self,
regionName,
OUTPUT)
|
| |
FindRegionNames(self,
list)
|
| |
Flash(self)
|
| |
FormatText(self,
dc,
s,
regionId)
|
| int |
GetAttachmentLineCount(self,
attachment)
|
| int |
GetAttachmentMode(self)
|
| bool |
GetAttachmentPosition(self,
attachment,
OUTPUT,
OUTPUT,
nth,
no_arcs,
line)
|
| bool |
GetAttachmentPositionEdge(self,
attachment,
OUTPUT,
OUTPUT,
nth,
no_arcs,
line)
|
| PyObject |
GetAttachments(self)
|
| wxBrush |
GetBackgroundBrush(self)
|
| wxPen |
GetBackgroundPen(self)
|
| |
GetBoundingBoxMax(self,
OUTPUT,
OUTPUT)
|
| |
GetBoundingBoxMin(self,
OUTPUT,
OUTPUT)
|
| bool |
GetBranchingAttachmentInfo(self,
attachment,
root,
neck,
shoulder1,
shoulder2)
|
| bool |
GetBranchingAttachmentPoint(self,
attachment,
n,
attachmentPoint,
stemPoint)
|
| RealPoint |
GetBranchingAttachmentRoot(self,
attachment)
|
| int |
GetBranchNeckLength(self)
|
| int |
GetBranchSpacing(self)
|
| int |
GetBranchStemLength(self)
|
| long |
GetBranchStyle(self)
|
| wxBrush |
GetBrush(self)
|
| PyShapeCanvas |
GetCanvas(self)
|
| bool |
GetCentreResize(self)
|
| PyObject |
GetChildren(self)
|
| |
GetClientData(self)
|
| bool |
GetDisableLabel(self)
|
| bool |
GetDrawHandles(self)
|
| PyShapeEvtHandler |
GetEventHandler(self)
|
| bool |
GetFixedHeight(self)
|
| |
GetFixedSize(self,
OUTPUT,
OUTPUT)
|
| bool |
GetFixedWidth(self)
|
| Font |
GetFont(self,
regionId)
|
| int |
GetFormatMode(self,
regionId)
|
| long |
GetId(self)
|
| int |
GetLinePosition(self,
line)
|
| PyObject |
GetLines(self)
|
| bool |
GetMaintainAspectRatio(self)
|
| int |
GetNumberOfAttachments(self)
|
| int |
GetNumberOfTextRegions(self)
|
| PyShape |
GetParent(self)
|
| wxPen |
GetPen(self)
|
| bool |
GetPerimeterPoint(self,
x1,
y1,
x2,
y2,
OUTPUT,
OUTPUT)
|
| int |
GetRegionId(self,
name)
|
| String |
GetRegionName(self,
regionId)
|
| PyObject |
GetRegions(self)
|
| double |
GetRotation(self)
|
| int |
GetSensitivityFilter(self)
|
| int |
GetShadowMode(self)
|
| bool |
GetSpaceAttachments(self)
|
| String |
GetTextColour(self,
regionId)
|
| PyShape |
GetTopAncestor(self)
|
| double |
GetX(self)
|
| double |
GetY(self)
|
| bool |
HasDescendant(self,
image)
|
| bool |
HitTest(self,
x,
y,
OUTPUT,
OUTPUT)
|
| |
InsertInCanvas(self,
the_canvas)
|
| bool |
IsHighlighted(self)
|
| bool |
IsShown(self)
|
| int |
LogicalToPhysicalAttachment(self,
logicalAttachment)
|
| |
MakeControlPoints(self)
|
| |
MakeMandatoryControlPoints(self)
|
| |
Move(self,
dc,
x1,
y1,
display)
|
| bool |
MoveLineToNewAttachment(self,
dc,
to_move,
x,
y)
|
| |
MoveLinks(self,
dc)
|
| |
NameRegions(self,
parentName)
|
| int |
PhysicalToLogicalAttachment(self,
physicalAttachment)
|
| |
Recentre(self,
dc)
|
| bool |
Recompute(self)
|
| |
RemoveFromCanvas(self,
the_canvas)
|
| |
RemoveLine(self,
line)
|
| |
ResetControlPoints(self)
|
| |
ResetMandatoryControlPoints(self)
|
| |
Rotate(self,
x,
y,
theta)
|
| |
Select(self,
select,
dc)
|
| bool |
Selected(self)
|
| |
SetAttachmentMode(self,
mode)
|
| |
SetAttachmentSize(self,
x,
y)
|
| |
SetBranchNeckLength(self,
len)
|
| |
SetBranchSpacing(self,
len)
|
| |
SetBranchStemLength(self,
len)
|
| |
SetBranchStyle(self,
style)
|
| |
SetBrush(self,
brush)
|
| |
SetCanvas(self,
the_canvas)
|
| |
SetCentreResize(self,
cr)
|
| |
SetClientData(self,
data)
|
| |
SetDefaultRegionSize(self)
|
| |
SetDisableLabel(self,
flag)
|
| |
SetDraggable(self,
drag,
recursive)
|
| |
SetDrawHandles(self,
drawH)
|
| |
SetEventHandler(self,
handler)
|
| |
SetFixedSize(self,
x,
y)
|
| |
SetFont(self,
font,
regionId)
|
| |
SetFormatMode(self,
mode,
regionId)
|
| |
SetHighlight(self,
hi,
recurse)
|
| |
SetId(self,
i)
|
| |
SetMaintainAspectRatio(self,
ar)
|
| |
SetParent(self,
p)
|
| |
SetPen(self,
pen)
|
| |
SetRegionName(self,
name,
regionId)
|
| |
SetRotation(self,
rotation)
|
| |
SetSensitivityFilter(self,
sens,
recursive)
|
| |
SetShadowMode(self,
mode,
redraw)
|
| |
SetSize(self,
x,
y,
recursive)
|
| |
SetSpaceAttachments(self,
sp)
|
| |
SetTextColour(self,
colour,
regionId)
|
| |
SetX(self,
x)
|
| |
SetY(self,
y)
|
| |
Show(self,
show)
|
| |
Unlink(self)
|