LilyPondGrob

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.lilypondnames" { graph [label="abjad.lilypondnames"]; node [color=1]; "abjad.lilypondnames.LilyPondGrob.LilyPondGrob" [URL="../api/abjad/lilypondnames/LilyPondGrob.html#abjad.lilypondnames.LilyPondGrob.LilyPondGrob", color=black, fontcolor=white, label="Lily\nPond\nGrob", target=_top]; } subgraph "cluster_abjad.system" { graph [label="abjad.system"]; node [color=2]; "abjad.system.AbjadObject.AbjadObject" [URL="../api/abjad/lilypondnames/../system/AbjadObject.html#abjad.system.AbjadObject.AbjadObject", label="Abjad\nObject", target=_top]; "abjad.system.AbjadValueObject.AbjadValueObject" [URL="../api/abjad/lilypondnames/../system/AbjadValueObject.html#abjad.system.AbjadValueObject.AbjadValueObject", label="Abjad\nValue\nObject", target=_top]; "abjad.system.AbjadObject.AbjadObject" -> "abjad.system.AbjadValueObject.AbjadValueObject"; } subgraph cluster_builtins { graph [label=builtins]; node [color=3]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; } "abjad.system.AbjadValueObject.AbjadValueObject" -> "abjad.lilypondnames.LilyPondGrob.LilyPondGrob"; "builtins.object" -> "abjad.system.AbjadObject.AbjadObject"; }

class abjad.lilypondnames.LilyPondGrob.LilyPondGrob(name='NoteHead')

LilyPond grob.

>>> grob = abjad.lilypondnames.LilyPondGrob('Beam')
>>> print(format(grob))
abjad.LilyPondGrob(
    name='Beam',
    )

Attributes Summary

__new__ Create and return a new object.
interfaces Gets interfaces of LilyPond grob.
list_all_grobs Lists all grobs.
name Gets name of LilyPond grob.
property_names Gets property names of LilyPond grob.

Special methods

(AbjadValueObject).__copy__(*arguments)

Copies Abjad value object.

Returns new Abjad value object.

(AbjadValueObject).__eq__(argument)

Is true when all initialization values of Abjad value object equal the initialization values of argument.

Returns true or false.

(AbjadObject).__format__(format_specification='')

Formats Abjad object.

Set format_specification to '' or 'storage'. Interprets '' equal to 'storage'.

Returns string.

(AbjadValueObject).__hash__()

Hashes Abjad value object.

Returns integer.

static __new__(class_, name='NoteHead')

Create and return a new object. See help(type) for accurate signature.

(AbjadObject).__repr__()

Gets interpreter representation of Abjad object.

Returns string.


Class & static methods

static list_all_grobs()

Lists all grobs.

>>> for lilypond_grob in abjad.lilypondnames.LilyPondGrob.list_all_grobs():
...     lilypond_grob
...
LilyPondGrob(name='Accidental')
LilyPondGrob(name='AccidentalCautionary')
LilyPondGrob(name='AccidentalPlacement')
LilyPondGrob(name='AccidentalSuggestion')
LilyPondGrob(name='Ambitus')
LilyPondGrob(name='AmbitusAccidental')
LilyPondGrob(name='AmbitusLine')
LilyPondGrob(name='AmbitusNoteHead')
LilyPondGrob(name='Arpeggio')
LilyPondGrob(name='BalloonTextItem')
LilyPondGrob(name='BarLine')
LilyPondGrob(name='BarNumber')
LilyPondGrob(name='BassFigure')
LilyPondGrob(name='BassFigureAlignment')
LilyPondGrob(name='BassFigureAlignmentPositioning')
LilyPondGrob(name='BassFigureBracket')
LilyPondGrob(name='BassFigureContinuation')
LilyPondGrob(name='BassFigureLine')
LilyPondGrob(name='Beam')
LilyPondGrob(name='BendAfter')
LilyPondGrob(name='BreakAlignGroup')
LilyPondGrob(name='BreakAlignment')
LilyPondGrob(name='BreathingSign')
LilyPondGrob(name='ChordName')
LilyPondGrob(name='Clef')
LilyPondGrob(name='ClefModifier')
LilyPondGrob(name='ClusterSpanner')
LilyPondGrob(name='ClusterSpannerBeacon')
LilyPondGrob(name='CombineTextScript')
LilyPondGrob(name='CueClef')
LilyPondGrob(name='CueEndClef')
LilyPondGrob(name='Custos')
LilyPondGrob(name='DotColumn')
LilyPondGrob(name='Dots')
LilyPondGrob(name='DoublePercentRepeat')
LilyPondGrob(name='DoublePercentRepeatCounter')
LilyPondGrob(name='DoubleRepeatSlash')
LilyPondGrob(name='DynamicLineSpanner')
LilyPondGrob(name='DynamicText')
LilyPondGrob(name='DynamicTextSpanner')
LilyPondGrob(name='Episema')
LilyPondGrob(name='Fingering')
LilyPondGrob(name='FingeringColumn')
LilyPondGrob(name='Flag')
LilyPondGrob(name='FootnoteItem')
LilyPondGrob(name='FootnoteSpanner')
LilyPondGrob(name='FretBoard')
LilyPondGrob(name='Glissando')
LilyPondGrob(name='GraceSpacing')
LilyPondGrob(name='GridLine')
LilyPondGrob(name='GridPoint')
LilyPondGrob(name='Hairpin')
LilyPondGrob(name='HorizontalBracket')
LilyPondGrob(name='InstrumentName')
LilyPondGrob(name='InstrumentSwitch')
LilyPondGrob(name='KeyCancellation')
LilyPondGrob(name='KeySignature')
LilyPondGrob(name='KievanLigature')
LilyPondGrob(name='LaissezVibrerTie')
LilyPondGrob(name='LaissezVibrerTieColumn')
LilyPondGrob(name='LedgerLineSpanner')
LilyPondGrob(name='LeftEdge')
LilyPondGrob(name='LigatureBracket')
LilyPondGrob(name='LyricExtender')
LilyPondGrob(name='LyricHyphen')
LilyPondGrob(name='LyricSpace')
LilyPondGrob(name='LyricText')
LilyPondGrob(name='MeasureCounter')
LilyPondGrob(name='MeasureGrouping')
LilyPondGrob(name='MelodyItem')
LilyPondGrob(name='MensuralLigature')
LilyPondGrob(name='MetronomeMark')
LilyPondGrob(name='MultiMeasureRest')
LilyPondGrob(name='MultiMeasureRestNumber')
LilyPondGrob(name='MultiMeasureRestText')
LilyPondGrob(name='NonMusicalPaperColumn')
LilyPondGrob(name='NoteCollision')
LilyPondGrob(name='NoteColumn')
LilyPondGrob(name='NoteHead')
LilyPondGrob(name='NoteName')
LilyPondGrob(name='NoteSpacing')
LilyPondGrob(name='OttavaBracket')
LilyPondGrob(name='PaperColumn')
LilyPondGrob(name='ParenthesesItem')
LilyPondGrob(name='PercentRepeat')
LilyPondGrob(name='PercentRepeatCounter')
LilyPondGrob(name='PhrasingSlur')
LilyPondGrob(name='PianoPedalBracket')
LilyPondGrob(name='RehearsalMark')
LilyPondGrob(name='RepeatSlash')
LilyPondGrob(name='RepeatTie')
LilyPondGrob(name='RepeatTieColumn')
LilyPondGrob(name='Rest')
LilyPondGrob(name='RestCollision')
LilyPondGrob(name='Script')
LilyPondGrob(name='ScriptColumn')
LilyPondGrob(name='ScriptRow')
LilyPondGrob(name='Slur')
LilyPondGrob(name='SostenutoPedal')
LilyPondGrob(name='SostenutoPedalLineSpanner')
LilyPondGrob(name='SpacingSpanner')
LilyPondGrob(name='SpanBar')
LilyPondGrob(name='SpanBarStub')
LilyPondGrob(name='StaffGrouper')
LilyPondGrob(name='StaffSpacing')
LilyPondGrob(name='StaffSymbol')
LilyPondGrob(name='StanzaNumber')
LilyPondGrob(name='Stem')
LilyPondGrob(name='StemStub')
LilyPondGrob(name='StemTremolo')
LilyPondGrob(name='StringNumber')
LilyPondGrob(name='StrokeFinger')
LilyPondGrob(name='SustainPedal')
LilyPondGrob(name='SustainPedalLineSpanner')
LilyPondGrob(name='System')
LilyPondGrob(name='SystemStartBar')
LilyPondGrob(name='SystemStartBrace')
LilyPondGrob(name='SystemStartBracket')
LilyPondGrob(name='SystemStartSquare')
LilyPondGrob(name='TabNoteHead')
LilyPondGrob(name='TextScript')
LilyPondGrob(name='TextSpanner')
LilyPondGrob(name='Tie')
LilyPondGrob(name='TieColumn')
LilyPondGrob(name='TimeSignature')
LilyPondGrob(name='TrillPitchAccidental')
LilyPondGrob(name='TrillPitchGroup')
LilyPondGrob(name='TrillPitchHead')
LilyPondGrob(name='TrillSpanner')
LilyPondGrob(name='TupletBracket')
LilyPondGrob(name='TupletNumber')
LilyPondGrob(name='UnaCordaPedal')
LilyPondGrob(name='UnaCordaPedalLineSpanner')
LilyPondGrob(name='VaticanaLigature')
LilyPondGrob(name='VerticalAlignment')
LilyPondGrob(name='VerticalAxisGroup')
LilyPondGrob(name='VoiceFollower')
LilyPondGrob(name='VoltaBracket')
LilyPondGrob(name='VoltaBracketSpanner')
Return type:Tuple[LilyPondGrob, …]

Read-only properties

interfaces

Gets interfaces of LilyPond grob.

>>> grob = abjad.lilypondnames.LilyPondGrob('Beam')
>>> for interface in grob.interfaces:
...     interface
...
LilyPondGrobInterface(name='beam-interface')
LilyPondGrobInterface(name='font-interface')
LilyPondGrobInterface(name='grob-interface')
LilyPondGrobInterface(name='spanner-interface')
LilyPondGrobInterface(name='staff-symbol-referencer-interface')
LilyPondGrobInterface(name='unbreakable-spanner-interface')
Return type:Tuple[LilyPondGrobInterface, …]
name

Gets name of LilyPond grob.

>>> grob = abjad.lilypondnames.LilyPondGrob('Beam')
>>> grob.name
'Beam'
Return type:str
property_names

Gets property names of LilyPond grob.

>>> grob = abjad.lilypondnames.LilyPondGrob('Beam')
>>> for property_name in grob.property_names:
...     property_name
...
'X-extent'
'X-offset'
'X-positions'
'Y-extent'
'Y-offset'
'after-line-breaking'
'annotation'
'auto-knee-gap'
'avoid-slur'
'beam-thickness'
'beamed-stem-shorten'
'beaming'
'before-line-breaking'
'break-overshoot'
'breakable'
'clip-edges'
'collision-interfaces'
'collision-voice-only'
'color'
'concaveness'
'cross-staff'
'damping'
'details'
'direction'
'extra-offset'
'font-encoding'
'font-family'
'font-name'
'font-series'
'font-shape'
'font-size'
'footnote-music'
'forced-spacing'
'gap'
'gap-count'
'grow-direction'
'horizontal-skylines'
'id'
'inspect-quants'
'knee'
'layer'
'length-fraction'
'minimum-X-extent'
'minimum-Y-extent'
'minimum-length'
'minimum-length-after-break'
'neutral-direction'
'normalized-endpoints'
'parenthesis-friends'
'positions'
'rotation'
'skip-quanting'
'skyline-horizontal-padding'
'spanner-id'
'springs-and-rods'
'staff-position'
'stencil'
'to-barline'
'transparent'
'vertical-skylines'
'whiteout'
'whiteout-box'
Return type:Tuple[str, …]