__init__ constructor

On this page

init

Initializes a new instance of the TextureBrush class with default values.

def __init__(self):
    ...

init

Initializes a new TextureBrush with an image file.

def __init__(self, image_file_path):
    ...
Parameter Type Description
image_file_path str Image file path.

init

Initializes a new instance of the TextureBrush class with an image stream.

def __init__(self, image_stream):
    ...
Parameter Type Description
image_stream io.RawIOBase Image stream.

See Also

On this page