ImageLayerContainerProtocol
TypeSource
ImageLayerContainerProtocol(*args: Any, **kwargs: Any)
warning
This protocol class is only used as type hints and does not implements any instances in run time.
The protocol of the container that manages several ImageLayers.
The implementationof this protocol should be renderer.ImageMultiLayer.
Arguments
Initialization function is not specified.
Protocol properties
height
height: int = self.height
The width of the canvas.
layers
layers: OrderedDict[str, ImageLayer] = self.layers
The internal storage of the layers managed by this container.
size
size: tuple[int, int] = self.size
The (width, height) tuple of the canvas.
width
width: int = self.width
The width of the canvas.