Composite

class Composite(var input: FilterInput = FilterInput.Previous, var input2: FilterInput, var operator: FilterPrimitive.CompositeOperator = CompositeOperator.OVER, var k1: Double = 0.0, var k2: Double = 0.0, var k3: Double = 0.0, var k4: Double = 0.0) : FilterPrimitive(source)

input combined with input2 by operator; the arithmetic operator computes k1·i·i2 + k2·i + k3·i2 + k4

Constructors

Link copied to clipboard
constructor(input: FilterInput = FilterInput.Previous, input2: FilterInput, operator: FilterPrimitive.CompositeOperator = CompositeOperator.OVER, k1: Double = 0.0, k2: Double = 0.0, k3: Double = 0.0, k4: Double = 0.0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val inputs: List<FilterInput>

the inputs, in the order of in and in2

Link copied to clipboard
var k1: Double
Link copied to clipboard
var k2: Double
Link copied to clipboard
var k3: Double
Link copied to clipboard
var k4: Double
Link copied to clipboard
Link copied to clipboard

the name of the result, null when only the next primitive uses it

Link copied to clipboard

the subregion that the result of the primitive is clipped to, null for the default subregion