DrawingContext.

PushOpacity(double) Method

Summary

Pushes an opacity value.
Namespace
Avalonia.Media
Containing Type
DrawingContext

Syntax

public DrawingContext.PushedState PushOpacity(double opacity)

Parameters

Name Type Description
opacity double The opacity.

Return Value

Type Description
DrawingContext.PushedState A disposable used to undo the opacity.