DynamicsInterface

class abjad.dynamics.interface.DynamicsInterface(client)

Bases: abjad.core.interface._Interface, abjad.core.grobhandler._GrobHandler, abjad.spanner.receptor._SpannerReceptor

Handle LilyPond DynamicText grob. Receive Abjad Dynamic and Hairpin spanners. Implement read / write ‘mark’ attribute.

chain
Return tuple of all leaves in spanner, if spanned; otherwise return 1-tuple of client.
count
Return number of spanners attaching to client.
effective
Effective dynamic.
first
True when client is first in spanner, otherwise False.
last
True when client is last in spanner, otherwise False.
mark
only
True when client is only leaf in spanner, otherwise False.
parented
True when spanner attached to any component in parentage of client, including client, otherwise False.
position
Return zero-indexed position of client in spanner.
spanned
True when client is spanned.
spanner
Return first spanner attaching to client.
spanner_in_parentage
Return first spanner attaching to parentage of client.
spanners
Return all spanners attaching to client.
unspan()
Remove all spanners attaching to client.

Previous topic

DotsInterface

Next topic

GlissandoInterface

This Page