DropShadow

class DropShadow(var input: FilterInput = FilterInput.Previous, var dx: Double = 2.0, var dy: Double = 2.0, var stdDeviation: Vector2 = Vector2(2.0, 2.0), var color: ColorRGBa = ColorRGBa.BLACK) : FilterPrimitive(source)

a shadow of the input: its alpha blurred, moved and colored, under the input

Constructors

Link copied to clipboard
constructor(input: FilterInput = FilterInput.Previous, dx: Double = 2.0, dy: Double = 2.0, stdDeviation: Vector2 = Vector2(2.0, 2.0), color: ColorRGBa = ColorRGBa.BLACK)

Properties

Link copied to clipboard
var color: ColorRGBa
Link copied to clipboard
Link copied to clipboard
var dx: Double
Link copied to clipboard
var dy: Double
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

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

Link copied to clipboard
var stdDeviation: Vector2
Link copied to clipboard

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