ComponentTransfer

class ComponentTransfer(var input: FilterInput = FilterInput.Previous, var red: FilterPrimitive.TransferFunction = TransferFunction.Identity, var green: FilterPrimitive.TransferFunction = TransferFunction.Identity, var blue: FilterPrimitive.TransferFunction = TransferFunction.Identity, var alpha: FilterPrimitive.TransferFunction = TransferFunction.Identity) : FilterPrimitive(source)

every channel of the input mapped by its transfer function

Constructors

Link copied to clipboard
constructor(input: FilterInput = FilterInput.Previous, red: FilterPrimitive.TransferFunction = TransferFunction.Identity, green: FilterPrimitive.TransferFunction = TransferFunction.Identity, blue: FilterPrimitive.TransferFunction = TransferFunction.Identity, alpha: FilterPrimitive.TransferFunction = TransferFunction.Identity)

Properties

Link copied to clipboard
Link copied to clipboard
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
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