Methods
|
|
|
|
__init__
|
__init__ (
self,
labelCanvas,
mainCanvas,
prevBlock,
font,
seqOffset,
specials,
seqs,
lineWidth,
labelBindings,
statusFunc,
)
|
|
addSpecials
|
addSpecials (
self,
specials,
pushDown=0,
)
|
|
assocSeq
|
assocSeq (
self,
aseq,
function,
)
|
|
baseLayoutInfo
|
baseLayoutInfo ( self )
|
|
bboxList
|
bboxList (
self,
line1,
line2,
pos1,
pos2,
bboxes=[],
)
|
|
boundedBy
|
boundedBy (
self,
x1,
y1,
x2,
y2,
)
|
|
delSpecials
|
delSpecials (
self,
specials,
pushDown=0,
delIndex=None,
)
|
|
destroy
|
destroy ( self )
|
|
findLabelWidth
|
findLabelWidth (
self,
font,
emphasisFont,
)
|
|
fontChange
|
fontChange (
self,
font,
emphasisFont=None,
pushDown=0,
)
|
|
hasAssociatedStructures
|
hasAssociatedStructures ( self, line )
|
|
layoutLines
|
layoutLines (
self,
lines,
labelColor,
)
|
|
layoutRuler
|
layoutRuler ( self, rerule=0 )
|
|
makeItem
|
makeItem (
self,
line,
offset,
x,
y,
halfX,
leftRectOff,
rightRectOff,
colorFunc,
)
|
|
measureFont
|
measureFont ( self, font )
|
|
numBlocks
|
numBlocks ( self )
|
|
pos
|
pos (
self,
x,
bound=None,
y=None,
)
return sequence position of x
|
|
realign
|
realign ( self, prevLen )
sequences globally realigned
|
|
refresh
|
refresh (
self,
seq,
left,
right,
)
|
|
relativeY
|
relativeY ( self, rawY )
return the y relative to the block the y is in
|
|
rowIndex
|
rowIndex (
self,
y,
bound=None,
)
Given a relative y, return the row index
|
|