OpacityEffect Class
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.
An opacity effect
public sealed class OpacityEffect : Microsoft.Toolkit.Uwp.UI.Media.PipelineEffect
type OpacityEffect = class
inherit PipelineEffect
Public NotInheritable Class OpacityEffect
Inherits PipelineEffect
- Inheritance
Remarks
This effect maps to the Win2D Microsoft.Graphics.Canvas.Effects.OpacityEffect effect
Constructors
OpacityEffect() |
Properties
Brush |
Gets the current Windows.UI.Composition.CompositionBrush instance, if one is in use. (Inherited from PipelineEffect) |
IsAnimatable |
Gets or sets a value indicating whether the effect can be animated. (Inherited from PipelineEffect) |
Value |
Gets or sets the opacity value to apply to the background (defaults to 1, should be in the [0, 1] range). |
Methods
AppendToBuilder(PipelineBuilder) |
Appends the current effect to the input PipelineBuilder instance. |
NotifyCompositionBrushInUse(CompositionBrush) |
Notifies that a given Windows.UI.Composition.CompositionBrush is now in use. (Inherited from PipelineEffect) |