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 |
A disposable used to undo the opacity. |