FilterEffect
class FilterEffect(val primitives: List<FilterPrimitive>, val region: Rectangle? = Rectangle(-0.1, -0.1, 1.2, 1.2), val regionUnits: PaintUnits = PaintUnits.BOUNDS, val primitiveUnits: PaintUnits = PaintUnits.OBJECT, val id: String = "")(source)
A filter effect, like SVG's filter element: primitives applied in order to what a node draws, in region: in the coordinates of regionUnits, or everywhere when the region is null. Lengths of primitives are in user space, or in fractions of the bounds of the node when primitiveUnits is PaintUnits.BOUNDS.
Constructors
Link copied to clipboard
constructor(primitives: List<FilterPrimitive>, region: Rectangle? = Rectangle(-0.1, -0.1, 1.2, 1.2), regionUnits: PaintUnits = PaintUnits.BOUNDS, primitiveUnits: PaintUnits = PaintUnits.OBJECT, id: String = "")