PushOpacity Method
Pushes an opacity value.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public DrawingContext.PushedState PushOpacity(
double opacity
)
Public Function PushOpacity (
opacity As Double
) As DrawingContext.PushedState
member PushOpacity :
opacity : float -> DrawingContext.PushedState
Parameters
- Double
- The opacity.
Return Value
DrawingContext.PushedState
A disposable used to undo the opacity.