DrawingContextPushOpacity Method

Pushes an opacity value.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public DrawingContextPushedState PushOpacity(
	double opacity
)

Parameters

opacity  Double
The opacity.

Return Value

DrawingContextPushedState
A disposable used to undo the opacity.

See Also