ProteinMotion
Reference navigation

MODULE · v0.9.1

Text and labels

proteinmotion.annotations

Write text, label amino acids, and connect labels to regions.

Guide and rendered examples →

Classes

NameDescription
AnnotationclassBase class for text and lines drawn over the image.
TextclassDraw shaped vector text over the protein image.
CalloutclassConnect an image label to a selected region with a line.
ResidueLabelclassLabel one amino acid at its projected Cα position.
ResidueLabelsclassLabel several residues and adjust their positions to reduce overlap.
WriteclassDraw text outlines and then fill the glyphs.
UnwriteclassErase glyph fills and then their outlines.
AnnotationAnimateclassBuild position, offset, and opacity animations for annotations.
View module source