background_size method

background_size

Sets the background size for the mask.

Returns

The current instance of MaskBuilder.

def background_size(self, width, height, type):
    ...
ParameterTypeDescription
widthfloatWidth of the background.
heightfloatHeight of the background.
typeLengthTypeThe type of length measurement.

See Also