PipelineBuilder.Saturation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Saturation(Single) |
Adds a new Microsoft.Graphics.Canvas.Effects.SaturationEffect to the current pipeline |
Saturation(Single, EffectAnimation<Single>) |
Adds a new Microsoft.Graphics.Canvas.Effects.SaturationEffect to the current pipeline |
Saturation(Single, EffectSetter<Single>) |
Adds a new Microsoft.Graphics.Canvas.Effects.SaturationEffect to the current pipeline |
Saturation(Single, String) |
Adds a new Microsoft.Graphics.Canvas.Effects.SaturationEffect to the current pipeline |
Saturation(Single)
Adds a new Microsoft.Graphics.Canvas.Effects.SaturationEffect to the current pipeline
public Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder Saturation (float saturation);
member this.Saturation : single -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Function Saturation (saturation As Single) As PipelineBuilder
Parameters
- saturation
- Single
The saturation amount for the new effect (should be in the [0, 1] range)
Returns
A new PipelineBuilder instance to use to keep adding new effects
Applies to
Saturation(Single, EffectAnimation<Single>)
Adds a new Microsoft.Graphics.Canvas.Effects.SaturationEffect to the current pipeline
public Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder Saturation (float saturation, out Microsoft.Toolkit.Uwp.UI.Media.Pipelines.EffectAnimation<float> animation);
member this.Saturation : single * EffectAnimation -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Function Saturation (saturation As Single, ByRef animation As EffectAnimation(Of Single)) As PipelineBuilder
Parameters
- saturation
- Single
The initial saturation amount for the new effect (should be in the [0, 1] range)
- animation
- EffectAnimation<Single>
The optional saturation animation for the effect
Returns
A new PipelineBuilder instance to use to keep adding new effects
Applies to
Saturation(Single, EffectSetter<Single>)
Adds a new Microsoft.Graphics.Canvas.Effects.SaturationEffect to the current pipeline
public Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder Saturation (float saturation, out Microsoft.Toolkit.Uwp.UI.Media.Pipelines.EffectSetter<float> setter);
member this.Saturation : single * EffectSetter -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Function Saturation (saturation As Single, ByRef setter As EffectSetter(Of Single)) As PipelineBuilder
Parameters
- saturation
- Single
The initial saturation amount for the new effect (should be in the [0, 1] range)
- setter
- EffectSetter<Single>
The optional saturation setter for the effect
Returns
A new PipelineBuilder instance to use to keep adding new effects
Applies to
Saturation(Single, String)
Adds a new Microsoft.Graphics.Canvas.Effects.SaturationEffect to the current pipeline
public Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder Saturation (float saturation, out string target);
member this.Saturation : single * string -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Function Saturation (saturation As Single, ByRef target As String) As PipelineBuilder
Parameters
- saturation
- Single
The initial saturation amount for the new effect (should be in the [0, 1] range)
- target
- String
The target property to animate the resulting effect.
Returns
A new PipelineBuilder instance to use to keep adding new effects