SlurInterface

class abjad.slur.interface.SlurInterface(client)

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

Handle LilyPond Slur grob and Abjad Slur spanner.

chain
Return tuple of all leaves in spanner, if spanned; otherwise return 1-tuple of client.
count
Return number of spanners attaching to client.
first
True when client is first in spanner, otherwise False.
last
True when client is last in spanner, otherwise False.
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

ScoreInterface

Next topic

SpacingInterface

This Page