콘텐츠로 이동

ImageFilter class

이 콘텐츠는 아직 번역되지 않았습니다.

A node in an image-filter DAG. Filters are immutable, value-like graph nodes that describe a transformation pipeline applied to a source image. They are evaluated by an IImageFilterExecutor which walks the graph and produces a FilterResult.

public abstract class ImageFilter
name description
abstract Inputs { get; } Input filters this node consumes. A null entry means “use the executor’s current source layer” - leaves of the graph that read the rendered content.

A node has zero or more Inputs (a null entry means “use the source layer”), and the executor recursively evaluates inputs before processing the node itself. SVG <filter> primitives map to these nodes 1:1 (e.g. feGaussianBlur → BlurFilter, feMerge → MergeFilter), and UI-level effects (UIElement.Effect = new BlurFilter(5)) build the same graph.