Skip to main content

AcrylicPlatformCompensationLevels Struct

Definition

Assembly:Avalonia.Controls
Package:Avalonia

Defines compensation levels for the platform depending on the transparency level. It controls the base opacity level of the 'tracing paper' layer that compensates for low blur radius.

public struct AcrylicPlatformCompensationLevels

Inheritance: ValueType -> AcrylicPlatformCompensationLevels

Implements: IEquatable<AcrylicPlatformCompensationLevels>

Constructors

NameDescription
AcrylicPlatformCompensationLevelsNo summary available.

AcrylicPlatformCompensationLevels Constructor

public AcrylicPlatformCompensationLevels(double transparent, double blurred, double acrylic)

Parameters

transparent double

blurred double

acrylic double

Methods

NameDescription
Equals (2 overloads)No summary available.
GetHashCodeNo summary available.
ToStringNo summary available.

Equals overloads

Equals Method

public bool Equals(Avalonia.Controls.AcrylicPlatformCompensationLevels other)
Parameters

other Avalonia.Controls.AcrylicPlatformCompensationLevels

Returns

bool

Equals Method

public bool Equals(object obj)
Parameters

obj object

Returns

bool

GetHashCode Method

public int GetHashCode()

Returns

int

ToString Method

public string ToString()

Returns

string

Properties

NameDescription
AcrylicBlurLevelNo summary available.
BlurLevelNo summary available.
TransparentLevelNo summary available.

AcrylicBlurLevel Property

public double AcrylicBlurLevel { get; set; }

BlurLevel Property

public double BlurLevel { get; set; }

TransparentLevel Property

public double TransparentLevel { get; set; }