PipelineBuilder.Opacity 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
Opacity(Single, String) |
Adds a new Microsoft.Graphics.Canvas.Effects.OpacityEffect to the current pipeline |
Opacity(Single, EffectSetter<Single>) |
Adds a new Microsoft.Graphics.Canvas.Effects.OpacityEffect to the current pipeline |
Opacity(Single, EffectAnimation<Single>) |
Adds a new Microsoft.Graphics.Canvas.Effects.OpacityEffect to the current pipeline |
Opacity(Single) |
Adds a new Microsoft.Graphics.Canvas.Effects.OpacityEffect to the current pipeline |
Opacity(Single, String)
Adds a new Microsoft.Graphics.Canvas.Effects.OpacityEffect to the current pipeline
public Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder Opacity (float opacity, out string target);
member this.Opacity : single * string -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Function Opacity (opacity As Single, ByRef target As String) As PipelineBuilder
Parameters
- opacity
- Single
The opacity value to apply to the pipeline
- target
- String
The target property to animate the resulting effect.
Returns
A new PipelineBuilder instance to use to keep adding new effects
Applies to
Opacity(Single, EffectSetter<Single>)
Adds a new Microsoft.Graphics.Canvas.Effects.OpacityEffect to the current pipeline
public Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder Opacity (float opacity, out Microsoft.Toolkit.Uwp.UI.Media.Pipelines.EffectSetter<float> setter);
member this.Opacity : single * EffectSetter -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Function Opacity (opacity As Single, ByRef setter As EffectSetter(Of Single)) As PipelineBuilder
Parameters
- opacity
- Single
The opacity value to apply to the pipeline
- setter
- EffectSetter<Single>
The optional opacity setter for the effect
Returns
A new PipelineBuilder instance to use to keep adding new effects
Applies to
Opacity(Single, EffectAnimation<Single>)
Adds a new Microsoft.Graphics.Canvas.Effects.OpacityEffect to the current pipeline
public Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder Opacity (float opacity, out Microsoft.Toolkit.Uwp.UI.Media.Pipelines.EffectAnimation<float> animation);
member this.Opacity : single * EffectAnimation -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Function Opacity (opacity As Single, ByRef animation As EffectAnimation(Of Single)) As PipelineBuilder
Parameters
- opacity
- Single
The opacity value to apply to the pipeline
- animation
- EffectAnimation<Single>
The optional opacity animation for the effect
Returns
A new PipelineBuilder instance to use to keep adding new effects
Applies to
Opacity(Single)
Adds a new Microsoft.Graphics.Canvas.Effects.OpacityEffect to the current pipeline
public Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder Opacity (float opacity);
member this.Opacity : single -> Microsoft.Toolkit.Uwp.UI.Media.Pipelines.PipelineBuilder
Public Function Opacity (opacity As Single) As PipelineBuilder
Parameters
- opacity
- Single
The opacity value to apply to the pipeline
Returns
A new PipelineBuilder instance to use to keep adding new effects