Skip to content

ImageFilterBounds.TryGetSourceRect method

The source rectangle filter reads to produce output, in the same coordinate space as output. Returns null when the graph contains a node whose input requirement cannot be bounded, meaning the caller must rasterize its whole filter region.

public static Rect? TryGetSourceRect(ImageFilter? filter, Rect output)