TextureBrush constructor

init

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

def __init__(self):
    ...

init

Initializes a new instance of the TextureBrush class with 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 image stream option.

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

See Also