3 changed files with 67 additions and 0 deletions
@ -1,8 +1,20 @@ |
|||
namespace Avalonia.Media |
|||
{ |
|||
/// <summary>
|
|||
/// Background Sources for Acrylic.
|
|||
/// </summary>
|
|||
public enum AcrylicBackgroundSource |
|||
{ |
|||
/// <summary>
|
|||
/// The acrylic has no background.
|
|||
/// </summary>
|
|||
None, |
|||
|
|||
/// <summary>
|
|||
/// Cuts through all render layers to reveal the window background.
|
|||
/// This means if your window is transparent or blurred it
|
|||
/// will be blended with the material.
|
|||
/// </summary>
|
|||
Digger |
|||
} |
|||
} |
|||
|
|||
@ -1,15 +1,33 @@ |
|||
namespace Avalonia.Media |
|||
{ |
|||
/// <summary>
|
|||
/// Experimental Interface for producing Acrylic-like materials.
|
|||
/// </summary>
|
|||
public interface IExperimentalAcrylicMaterial |
|||
{ |
|||
/// <summary>
|
|||
/// Gets the <see cref="AcrylicBackgroundSource"/> of the material.
|
|||
/// </summary>
|
|||
AcrylicBackgroundSource BackgroundSource { get; } |
|||
|
|||
/// <summary>
|
|||
/// Gets the TintColor of the material.
|
|||
/// </summary>
|
|||
Color TintColor { get; } |
|||
|
|||
/// <summary>
|
|||
/// Gets the TintOpacity of the material.
|
|||
/// </summary>
|
|||
double TintOpacity { get; } |
|||
|
|||
/// <summary>
|
|||
/// Gets the effective material color.
|
|||
/// </summary>
|
|||
Color MaterialColor { get; } |
|||
|
|||
/// <summary>
|
|||
/// Gets the fallback color.
|
|||
/// </summary>
|
|||
Color FallbackColor { get; } |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue