Table of Contents

Struct AcrylicPlatformCompensationLevels

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll

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 : IEquatable<AcrylicPlatformCompensationLevels>
Implements
Inherited Members

Constructors

AcrylicPlatformCompensationLevels(double, double, double)

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

Parameters

transparent double
blurred double
acrylic double

Properties

AcrylicBlurLevel

public readonly double AcrylicBlurLevel { get; }

Property Value

double

BlurLevel

public readonly double BlurLevel { get; }

Property Value

double

TransparentLevel

public readonly double TransparentLevel { get; }

Property Value

double

Methods

Equals(AcrylicPlatformCompensationLevels)

public readonly bool Equals(AcrylicPlatformCompensationLevels other)

Parameters

other AcrylicPlatformCompensationLevels

Returns

bool

Equals(object)

public override readonly bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override readonly int GetHashCode()

Returns

int

ToString()

public override readonly string ToString()

Returns

string

Operators

operator ==(AcrylicPlatformCompensationLevels, AcrylicPlatformCompensationLevels)

public static bool operator ==(AcrylicPlatformCompensationLevels left, AcrylicPlatformCompensationLevels right)

Parameters

left AcrylicPlatformCompensationLevels
right AcrylicPlatformCompensationLevels

Returns

bool

operator !=(AcrylicPlatformCompensationLevels, AcrylicPlatformCompensationLevels)

public static bool operator !=(AcrylicPlatformCompensationLevels left, AcrylicPlatformCompensationLevels right)

Parameters

left AcrylicPlatformCompensationLevels
right AcrylicPlatformCompensationLevels

Returns

bool