PipelineBuilder.Shade 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
Shade(Color, Single) |
Applies a shade effect on the current pipeline |
Shade(Color, EffectAnimation<Color>, Single, EffectAnimation<Single>) |
Applies a shade effect on the current pipeline |
Shade(Color, EffectSetter<Color>, Single, EffectSetter<Single>) |
Applies a shade effect on the current pipeline |
Shade(Color, Single)
Applies a shade effect on the current pipeline
public Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder Shade (Windows.UI.Color color, float mix);
member this.Shade : Windows.UI.Color * single -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Function Shade (color As Color, mix As Single) As PipelineBuilder
Parameters
- color
- Color
The color to use
- mix
- Single
The amount of mix to apply over the current effect (must be in the [0, 1] range)
Returns
A new PipelineBuilder instance to use to keep adding new effects
Applies to
Shade(Color, EffectAnimation<Color>, Single, EffectAnimation<Single>)
Applies a shade effect on the current pipeline
public Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder Shade (Windows.UI.Color color, out Microsoft.Toolkit.Uwp.UI.Media.Pipelines.EffectAnimation<Windows.UI.Color> colorAnimation, float mix, out Microsoft.Toolkit.Uwp.UI.Media.Pipelines.EffectAnimation<float> mixAnimation);
member this.Shade : Windows.UI.Color * EffectAnimation * single * EffectAnimation -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Function Shade (color As Color, ByRef colorAnimation As EffectAnimation(Of Color), mix As Single, ByRef mixAnimation As EffectAnimation(Of Single)) As PipelineBuilder
Parameters
- color
- Color
The color to use
- colorAnimation
- EffectAnimation<Color>
The optional color animation for the effect
- mix
- Single
The initial amount of mix to apply over the current effect (must be in the [0, 1] range)
- mixAnimation
- EffectAnimation<Single>
The optional mix animation for the effect
Returns
A new PipelineBuilder instance to use to keep adding new effects
Applies to
Shade(Color, EffectSetter<Color>, Single, EffectSetter<Single>)
Applies a shade effect on the current pipeline
public Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder Shade (Windows.UI.Color color, out Microsoft.Toolkit.Uwp.UI.Media.Pipelines.EffectSetter<Windows.UI.Color> colorSetter, float mix, out Microsoft.Toolkit.Uwp.UI.Media.Pipelines.EffectSetter<float> mixSetter);
member this.Shade : Windows.UI.Color * EffectSetter * single * EffectSetter -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Function Shade (color As Color, ByRef colorSetter As EffectSetter(Of Color), mix As Single, ByRef mixSetter As EffectSetter(Of Single)) As PipelineBuilder
Parameters
- color
- Color
The color to use
- colorSetter
- EffectSetter<Color>
The optional color setter for the effect
- mix
- Single
The initial amount of mix to apply over the current effect (must be in the [0, 1] range)
- mixSetter
- EffectSetter<Single>
The optional mix setter for the effect
Returns
A new PipelineBuilder instance to use to keep adding new effects