moviemaker2.stacks

moviemaker2.stacks.stack

class moviemaker2.stacks.stack.Stack[source]

Base class for stacks with layers.

__init__()[source]

Initialises the .layers attribute to the empty list.

__xor__(other)[source]

Stack other onto self. Acts in-place! This is done so that derived classes do not have to overlaod just to get the return class right. Anyway, returns self.

add_top(other)[source]

Stacks other onto self. Acts in-place. Like __xor__().

add_bottom(other)[source]

Stacks other at the bottom of self. Acts in-place.

insert(index, other)[source]

Stacks other by insert()’ing it into the layer list. Acts in-place.

remove(other)[source]

Removes the first occurence of other from self.

__delitem__(key)[source]

Removes the object indexed by key from the layer list.

moviemaker2.stacks.raster

class moviemaker2.stacks.raster.AdditiveRasterStack(background)[source]
__call__(ps)[source]

Adds up the layers.

class moviemaker2.stacks.raster.AlphaBlendRasterStack(background)[source]
__call__(ps)[source]

Blends the layers one after the other. The alpha channel is the first channel.

Table Of Contents

Previous topic

moviemaker2.rasterisers

Next topic

moviemaker2.transforms

This Page