# API reference The package exposes a function and an artist class. Use the `curved_text` function for the common case. Use the `CurvedText` class when you need to keep a reference to the label and change it after drawing. ```{eval-rst} .. autofunction:: curved_text.curved_text .. autoclass:: curved_text.CurvedText :members: :show-inheritance: :exclude-members: set ```