Skip to content
ChartForgeX
Class

VisualLayerBlur

ChartForgeX.Effects

Namespace
ChartForgeX.Effects
Assembly
ChartForgeX
Modifiers
sealed

Immutable opt-in blur for one complete captured prepared visual; it does not enable a filter on existing scenes.

Inheritance

  • object
  • VisualLayerBlur

Remarks

Lengths are logical units. Capture multiplies them by its output density and rounds once to 1/256 device pixel. Every nonzero target uses the existing deterministic three-box Gaussian approximation, not an exact Gaussian convolution. Capture rejects a density-scaled target above 128 device pixels before rendering. Exterior samples are transparent black.

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 2

Constructors

public VisualLayerBlur(double sigmaX, double? sigmaY = null, bool orderedDither = true) #

Creates an explicit blur. A null vertical target uses the horizontal target.

Parameters

sigmaX double required
Finite nonnegative horizontal target, at most 128 logical units before the capture-density check.
sigmaY double? = null optional
Optional independent vertical target under the same policy.
orderedDither bool = true optional
Whether final RGBA8 conversion uses the existing deterministic layer-local Bayer pattern.

Properties

public double SigmaX { get; } #

Gets the horizontal standard-deviation target in logical units.

public double SigmaY { get; } #

Gets the vertical standard-deviation target in logical units.

public bool OrderedDither { get; } #

Gets whether the final effect conversion uses deterministic ordered dither.