Table of Contents

Struct ImmutableExperimentalAcrylicMaterial

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll
public readonly struct ImmutableExperimentalAcrylicMaterial : IExperimentalAcrylicMaterial, IEquatable<ImmutableExperimentalAcrylicMaterial>
Implements
Inherited Members
Extension Methods

Constructors

ImmutableExperimentalAcrylicMaterial(IExperimentalAcrylicMaterial)

public ImmutableExperimentalAcrylicMaterial(IExperimentalAcrylicMaterial brush)

Parameters

brush IExperimentalAcrylicMaterial

Properties

BackgroundSource

Gets the AcrylicBackgroundSource of the material.

public AcrylicBackgroundSource BackgroundSource { get; }

Property Value

AcrylicBackgroundSource

FallbackColor

Gets the fallback color.

public Color FallbackColor { get; }

Property Value

Color

MaterialColor

Gets the effective material color.

public Color MaterialColor { get; }

Property Value

Color

TintColor

Gets the TintColor of the material.

public Color TintColor { get; }

Property Value

Color

TintOpacity

Gets the TintOpacity of the material.

public double TintOpacity { get; }

Property Value

double

Methods

Equals(ImmutableExperimentalAcrylicMaterial)

public bool Equals(ImmutableExperimentalAcrylicMaterial other)

Parameters

other ImmutableExperimentalAcrylicMaterial

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetEffectiveTintColor()

public Color GetEffectiveTintColor()

Returns

Color

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(ImmutableExperimentalAcrylicMaterial, ImmutableExperimentalAcrylicMaterial)

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

Parameters

left ImmutableExperimentalAcrylicMaterial
right ImmutableExperimentalAcrylicMaterial

Returns

bool

operator !=(ImmutableExperimentalAcrylicMaterial, ImmutableExperimentalAcrylicMaterial)

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

Parameters

left ImmutableExperimentalAcrylicMaterial
right ImmutableExperimentalAcrylicMaterial

Returns

bool