First steps
Overview
Examples
All classes & functions
Appendices
Score gallery
Enumerations.
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.enums" { graph [label="abjad.enums"]; node [color=1]; "abjad.enums.Comparison" [URL="../api/abjad/enums.html#abjad.enums.Comparison", color=black, fontcolor=white, label=Comparison, target=_top]; "abjad.enums.Horizontal" [URL="../api/abjad/enums.html#abjad.enums.Horizontal", color=black, fontcolor=white, label=Horizontal, target=_top]; "abjad.enums.Vertical" [URL="../api/abjad/enums.html#abjad.enums.Vertical", color=black, fontcolor=white, label=Vertical, target=_top]; } subgraph cluster_builtins { graph [label=builtins]; node [color=2]; "builtins.object" [URL="https://docs.python.org/3/library/functions.html#object", label=object, target=_top]; } subgraph cluster_enum { graph [label=enum]; node [color=3]; "enum.Enum" [URL="https://docs.python.org/3/library/enum.html#enum.Enum", label=Enum, target=_top]; } "builtins.object" -> "enum.Enum" [minlen=1]; "enum.Enum" -> "abjad.enums.Comparison" [minlen=1]; "enum.Enum" -> "abjad.enums.Horizontal" [minlen=2]; "enum.Enum" -> "abjad.enums.Vertical" [minlen=1]; }
Enumerations
Comparison
Enumeration of amount comparisons.
Horizontal
Enumeration of horizontal alignments.
Vertical
Enumeration of vertical alignments.
Special methods
EnumType
Return True if value is in cls.
value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls’s members.
Return the member matching name.
Return members in definition order.
Return the number of members (no aliases)