Interface CompositeOptions

Options of Image.composite

interface CompositeOptions {
    mode?: BlendMode;
    opacity?: number;
    x?: number;
    y?: number;
}

Properties

Properties

mode?: BlendMode

How the colors are mixed. Default: 'normal'

opacity?: number

Opacity of the source (0..1). Default: 1

x?: number

The x position to place the source at, if the options are the second argument. Default: 0

y?: number

The y position to place the source at, if the options are the second argument. Default: 0