StringContactPoint¶
-
class
abjad.indicators.StringContactPoint.
StringContactPoint
(contact_point='ordinario')¶ String contact point.
Sul ponticello:
>>> indicator = abjad.StringContactPoint('sul ponticello') >>> abjad.f(indicator) abjad.StringContactPoint( contact_point='sul ponticello', )
Sul tasto:
>>> indicator = abjad.StringContactPoint('sul tasto') >>> abjad.f(indicator) abjad.StringContactPoint( contact_point='sul tasto', )
Attributes Summary
contact_point
Gets contact point of string contact point. markup
Gets markup of string contact point. parameter
Is true. tweaks
Are not implemented on string contact point. 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.
-
(
AbjadObject
).__repr__
()¶ Gets interpreter representation of Abjad object.
Returns string.
Read-only properties
-
contact_point
¶ Gets contact point of string contact point.
Sul ponticello:
>>> indicator = abjad.StringContactPoint('sul ponticello') >>> indicator.contact_point 'sul ponticello'
Sul tasto:
>>> indicator = abjad.StringContactPoint('sul tasto') >>> indicator.contact_point 'sul tasto'
Set to known string.
Return type: str
-
markup
¶ Gets markup of string contact point.
Sul ponticello:
>>> indicator = abjad.StringContactPoint('sul ponticello') >>> abjad.show(indicator.markup)
Return type: Markup
-
tweaks
¶ Are not implemented on string contact point.
Return type: None
-