1 changed files with 12 additions and 0 deletions
@ -1,9 +1,21 @@ |
|||||
namespace Avalonia.Platform |
namespace Avalonia.Platform |
||||
{ |
{ |
||||
|
/// <summary>
|
||||
|
/// Describes how to interpret the alpha component of a pixel.
|
||||
|
/// </summary>
|
||||
public enum AlphaFormat |
public enum AlphaFormat |
||||
{ |
{ |
||||
|
/// <summary>
|
||||
|
/// All pixels have their alpha premultiplied in their color components.
|
||||
|
/// </summary>
|
||||
Premul, |
Premul, |
||||
|
/// <summary>
|
||||
|
/// All pixels have their color components stored without any regard to the alpha. e.g. this is the default configuration for PNG images.
|
||||
|
/// </summary>
|
||||
Unpremul, |
Unpremul, |
||||
|
/// <summary>
|
||||
|
/// All pixels are stored as opaque.
|
||||
|
/// </summary>
|
||||
Opaque |
Opaque |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue