digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true ]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0 ]; edge [color=lightslategrey, penwidth=1 ]; subgraph "cluster_abjad.core" { graph [label="abjad.core"]; node [color=1]; "abjad.core.Chord.Chord" [URL="../api/abjad/core/Chord.html#abjad.core.Chord.Chord", color=1, label=Chord, target=_top]; "abjad.core.Component.Component" [URL="../api/abjad/core/Component.html#abjad.core.Component.Component", color=1, label=Component, shape=oval, style=bold, target=_top]; "abjad.core.Leaf.Leaf" [URL="../api/abjad/core/Leaf.html#abjad.core.Leaf.Leaf", color=black, fontcolor=white, label=Leaf, shape=oval, style="bold, filled", target=_top]; "abjad.core.Component.Component" -> "abjad.core.Leaf.Leaf"; "abjad.core.Leaf.Leaf" -> "abjad.core.Chord.Chord" [minlen=1]; "abjad.core.MultimeasureRest.MultimeasureRest" [URL="../api/abjad/core/MultimeasureRest.html#abjad.core.MultimeasureRest.MultimeasureRest", color=1, label="Multimeasure\nRest", target=_top]; "abjad.core.Leaf.Leaf" -> "abjad.core.MultimeasureRest.MultimeasureRest" [minlen=2]; "abjad.core.Note.Note" [URL="../api/abjad/core/Note.html#abjad.core.Note.Note", color=1, label=Note, target=_top]; "abjad.core.Leaf.Leaf" -> "abjad.core.Note.Note" [minlen=1]; "abjad.core.Rest.Rest" [URL="../api/abjad/core/Rest.html#abjad.core.Rest.Rest", color=1, label=Rest, target=_top]; "abjad.core.Leaf.Leaf" -> "abjad.core.Rest.Rest" [minlen=2]; "abjad.core.Skip.Skip" [URL="../api/abjad/core/Skip.html#abjad.core.Skip.Skip", color=1, label=Skip, target=_top]; "abjad.core.Leaf.Leaf" -> "abjad.core.Skip.Skip" [minlen=1]; } subgraph "cluster_abjad.system" { graph [label="abjad.system"]; node [color=2]; "abjad.system.AbjadObject.AbjadObject" [URL="../api/abjad/core/../system/AbjadObject.html#abjad.system.AbjadObject.AbjadObject", color=2, label="Abjad\nObject", target=_top]; } subgraph cluster_builtins { graph [label=builtins]; node [color=3]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", color=3, label=object, target=_top]; } "abjad.system.AbjadObject.AbjadObject" -> "abjad.core.Component.Component" [minlen=1]; "builtins.object" -> "abjad.system.AbjadObject.AbjadObject" [minlen=1]; }
abjad.core.Leaf.
Leaf
Leaf baseclass.
Leaves include notes, rests, chords and skips.
Attributes Summary
__copy__
__str__
written_duration
Special methods
Shallow copies leaf.
Returns new leaf.
(Component).
Component
__format__
Formats component.
Returns string.
__illustrate__
Illustrates component.
Returns LilyPond file.
__mul__
Copies component n times and detaches spanners.
Returns list of new components.
__repr__
Gets interpreter representation of leaf.
__rmul__
Copies component n times and detach spanners.
Gets string representation of leaf.
Read/write properties
Written duration of leaf.
Set to duration.
Returns duration.