Struct BlurEffectConfiguration
The blur effect downsamples and then blurs the image in both horizontal and vertical directions
Namespace: Yak2D
Assembly: Yak2D.Api.dll
Syntax
public struct BlurEffectConfiguration
Properties
MixAmount
Fraction of result that is blur result versus original source (0 to 1)
Declaration
public float MixAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
NumberOfBlurSamples
Number of blur samples (MAX 8, will be capped)
Declaration
public int NumberOfBlurSamples { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ReSamplerType
Pixel sampling method (nearest neighbour, 2x2, 4x4)
Declaration
public ResizeSamplerType ReSamplerType { get; set; }
Property Value
| Type | Description |
|---|---|
| ResizeSamplerType |