DrawingContextPushOpacity Method
Pushes an opacity value.
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public DrawingContextPushedState PushOpacity(
double opacity
)
Public Function PushOpacity (
opacity As Double
) As DrawingContextPushedState
member PushOpacity :
opacity : float -> DrawingContextPushedState
- opacity Double
- The opacity.
DrawingContextPushedStateA disposable used to undo the opacity.