FontNotFoundException constructor

init

Initializes a new instance of the FontNotFoundException class.

def __init__(self):
    ...

init

Initializes a new instance of the FontNotFoundException class with a specified font name.

def __init__(self, font_name):
    ...
Parameter Type Description
font_name str The requested font name.

See Also