Region keeps track of the location and display property
of a rectangular region in the viewer sequence canvas
Methods
|
|
|
|
__init__
|
__init__ (
self,
canvas,
anchorItem,
update,
notifyChange,
borderColor=defaultBorderColor,
backgroundColor=defaultBackgroundColor,
foregroundColor=defaultForegroundColor,
structureColor=defaultStructureColor,
)
|
|
__repr__
|
__repr__ ( self )
|
|
area
|
area ( self )
|
|
checkDelete
|
checkDelete ( self )
|
|
checkInsert
|
checkInsert ( self )
|
|
destroy
|
destroy ( self )
|
|
highlight
|
highlight ( self, on )
|
|
lowerBeneath
|
lowerBeneath ( self, otherRegion )
|
|
rectangleFill
|
rectangleFill ( self, color )
|
|
rectangleOutline
|
rectangleOutline ( self, color )
|
|
reset
|
reset ( self )
|
|
sequenceRange
|
sequenceRange ( self )
|
|
setAnchor
|
setAnchor (
self,
x,
y,
)
|
|
setBackgroundColor
|
setBackgroundColor (
self,
rgb,
c,
)
|
|
setBold
|
setBold ( self, bold )
|
|
setBorderColor
|
setBorderColor (
self,
rgb,
c,
)
|
|
setCursor
|
setCursor ( self, x )
|
|
setDrag
|
setDrag (
self,
x,
y,
)
|
|
setEdited
|
setEdited ( self )
|
|
setForegroundColor
|
setForegroundColor (
self,
rgb,
c,
)
|
|
setLeft
|
setLeft ( self, x )
|
|
setPosition
|
setPosition (
self,
ax,
ay,
dx,
dy,
)
|
|
setRepresentation
|
setRepresentation ( self, change )
|
|
setRight
|
setRight ( self, x )
|
|
setStructureColor
|
setStructureColor (
self,
rgb,
c,
)
|
|
updateCoords
|
updateCoords (
self,
charWidth,
charHeight,
)
|
|