Skip to content

Commit 8e4c309

Browse files
committed
Updated docs
1 parent 751727c commit 8e4c309

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed

docs/api.rst

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2179,6 +2179,86 @@ of :class:`enum.Enum`.
21792179

21802180
.. versionadded:: 2.1
21812181

2182+
.. class:: NameFont
2183+
2184+
Specifies the font of :class:`DisplayNameStyle`.
2185+
2186+
.. attribute:: default
2187+
2188+
The default font.
2189+
2190+
.. attribute:: bangers
2191+
2192+
"Bangers" font.
2193+
2194+
.. attribute:: bio_rhyme
2195+
2196+
"BioRhyme" font.
2197+
2198+
.. attribute:: cherry_bomb
2199+
2200+
"Cherry Bomb One" font.
2201+
2202+
.. attribute:: chicle
2203+
2204+
"Chicle" font.
2205+
2206+
.. attribute:: compagnon
2207+
2208+
"Compagnon" font.
2209+
2210+
.. attribute:: museo_moderno
2211+
2212+
"MuseoModerno" font.
2213+
2214+
.. attribute:: neo_castel
2215+
2216+
"Néo-Castel" font.
2217+
2218+
.. attribute:: pixelify
2219+
2220+
"Pixelify Sans" font.
2221+
2222+
.. attribute:: ribes
2223+
2224+
"Ribes" font.
2225+
2226+
.. attribute:: sinistre
2227+
2228+
"Sinistre" font.
2229+
2230+
.. attribute:: zilla_slab
2231+
2232+
"Zilla Slab" font.
2233+
2234+
.. class:: NameEffect
2235+
2236+
Specifies the effect of :class:`DisplayNameStyle`.
2237+
2238+
.. attribute:: solid
2239+
2240+
Displays the first color provided.
2241+
2242+
.. attribute:: gradient
2243+
2244+
Two color gradient.
2245+
2246+
.. attribute:: neon
2247+
2248+
Glow around the name.
2249+
2250+
.. attribute:: toon
2251+
2252+
Subtle vertical gradient and stroke.
2253+
2254+
.. attribute:: pop
2255+
2256+
Colored dropshadow.
2257+
2258+
.. attribute:: glow
2259+
2260+
Alternate gradient style.
2261+
21822262
.. class:: ActivityType
21832263

21842264
Specifies the type of :class:`Activity`. This is used to check how to

0 commit comments

Comments
 (0)